listFromJson static method

List<Query?>? listFromJson(
  1. List json, {
  2. bool? emptyIsNull,
  3. bool? growable,
})

Implementation

static List<Query?>? listFromJson(
  List<dynamic> json, {
  bool? emptyIsNull,
  bool? growable,
}) =>
    json.isEmpty
        ? true == emptyIsNull
            ? null
            : <Query>[]
        : json
            .map((dynamic value) => Query.fromJson(value))
            .toList(growable: true == growable);