toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customMetadata != null) 'customMetadata': customMetadata!,
      if (helpText != null) 'helpText': helpText!,
      if (isOptional != null) 'isOptional': isOptional!,
      if (label != null) 'label': label!,
      if (name != null) 'name': name!,
      if (paramType != null) 'paramType': paramType!,
      if (regexes != null) 'regexes': regexes!,
    };