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