utils/json_utils library
Functions
-
decodeJsonObject(
String? body) → Map< String, dynamic> ? -
bodyas a JSON object, ornullfor no body, malformed JSON or any other JSON value. -
fetchOrNull(
Future< String?> fetch()) → Future<String?> -
What
fetchreturns, ornullwhen it throws: an ObservANT camera that cannot be reached answers nothing.