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