toJson method

Map<String, Object?> toJson()

Implementation

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

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