toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (dateValue != null) 'dateValue': dateValue!,
  if (displayName != null) 'displayName': displayName!,
  if (id != null) 'id': id!,
  if (integerValue != null) 'integerValue': integerValue!,
  if (longTextValue != null) 'longTextValue': longTextValue!,
  if (reason != null) 'reason': reason!,
  if (selectionListValue != null) 'selectionListValue': selectionListValue!,
  if (selectionValue != null) 'selectionValue': selectionValue!,
  if (textListValue != null) 'textListValue': textListValue!,
  if (textValue != null) 'textValue': textValue!,
  if (type != null) 'type': type!,
  if (unsetValue != null) 'unsetValue': unsetValue!,
  if (userListValue != null) 'userListValue': userListValue!,
  if (userValue != null) 'userValue': userValue!,
};