toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var customFieldId = this.customFieldId;
  var moveTo = this.moveTo;

  final json = <String, Object?>{};
  if (customFieldId != null) {
    json[r'customFieldId'] = customFieldId;
  }
  if (moveTo != null) {
    json[r'moveTo'] = moveTo;
  }
  return json;
}