getJsonList method

JsonList getJsonList(
  1. String key, [
  2. List? defaultValue
])

Returns JsonList by key

If map not contains key or the value is not a List and defaultValue is null then throw FormatException

Implementation

JsonList getJsonList(String key, [List<dynamic>? defaultValue]) {
  return JsonList(_value<List<dynamic>>(key, defaultValue), _onError);
}