jsonMap property

Map<String, Object?> get jsonMap

json as an object.

Implementation

Map<String, Object?> get jsonMap {
  final j = json;
  if (j is Map<String, Object?>) return j;
  throw StateError('Expected a JSON object, got: $body');
}