toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customMetadata != null) 'customMetadata': customMetadata!,
      if (defaultValue != null) 'defaultValue': defaultValue!,
      if (enumOptions != null) 'enumOptions': enumOptions!,
      if (groupName != null) 'groupName': groupName!,
      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 (parentName != null) 'parentName': parentName!,
      if (parentTriggerValues != null)
        'parentTriggerValues': parentTriggerValues!,
      if (regexes != null) 'regexes': regexes!,
    };