FieldSelector.fromJson constructor

FieldSelector.fromJson(
  1. Map json_
)

Implementation

FieldSelector.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? (json_['fields'] as core.List)
                .map((value) => FieldReference.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );