toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autocompleteSuggestions != null)
    'autocompleteSuggestions': autocompleteSuggestions!,
  if (defaultPort != null) 'defaultPort': defaultPort!,
  if (description != null) 'description': description!,
  if (displayName != null) 'displayName': displayName!,
  if (isAdvanced != null) 'isAdvanced': isAdvanced!,
  if (key != null) 'key': key!,
  if (max != null) 'max': max!,
  if (min != null) 'min': min!,
  if (portFieldType != null) 'portFieldType': portFieldType!,
  if (regexPattern != null) 'regexPattern': regexPattern!,
};