toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (fieldPath.isNotDefault) 'fieldPath': fieldPath,
  'setToServerValue': ?setToServerValue?.toJson(),
  'increment': ?increment?.toJson(),
  'maximum': ?maximum?.toJson(),
  'minimum': ?minimum?.toJson(),
  'appendMissingElements': ?appendMissingElements?.toJson(),
  'removeAllFromArray': ?removeAllFromArray?.toJson(),
};