Projection.fromJson constructor

Projection.fromJson(
  1. Map json_
)

Implementation

Projection.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,
      );