utils/json_utils library

Functions

decodeJsonObject(String? body) → Map<String, dynamic>?
body as a JSON object, or null for no body, malformed JSON or any other JSON value.