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