DocumentTransform.fromJson constructor

DocumentTransform.fromJson(
  1. Map _json
)

Implementation

DocumentTransform.fromJson(core.Map _json)
    : this(
        document: _json.containsKey('document')
            ? _json['document'] as core.String
            : null,
        fieldTransforms: _json.containsKey('fieldTransforms')
            ? (_json['fieldTransforms'] as core.List)
                .map((value) => FieldTransform.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );