jsonList property

List<Object?> get jsonList

json as an array.

Implementation

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