FieldTransform.fromJson constructor
FieldTransform.fromJson(
- Map _json
Implementation
FieldTransform.fromJson(core.Map _json)
: this(
appendMissingElements: _json.containsKey('appendMissingElements')
? ArrayValue.fromJson(_json['appendMissingElements']
as core.Map<core.String, core.dynamic>)
: null,
fieldPath: _json.containsKey('fieldPath')
? _json['fieldPath'] as core.String
: null,
increment: _json.containsKey('increment')
? Value.fromJson(
_json['increment'] as core.Map<core.String, core.dynamic>)
: null,
maximum: _json.containsKey('maximum')
? Value.fromJson(
_json['maximum'] as core.Map<core.String, core.dynamic>)
: null,
minimum: _json.containsKey('minimum')
? Value.fromJson(
_json['minimum'] as core.Map<core.String, core.dynamic>)
: null,
removeAllFromArray: _json.containsKey('removeAllFromArray')
? ArrayValue.fromJson(_json['removeAllFromArray']
as core.Map<core.String, core.dynamic>)
: null,
setToServerValue: _json.containsKey('setToServerValue')
? _json['setToServerValue'] as core.String
: null,
);