toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (allowedValues != null) 'allowedValues': allowedValues!,
if (deprecated != null) 'deprecated': deprecated!,
if (description != null) 'description': description!,
if (displayName != null) 'displayName': displayName!,
if (fields != null) 'fields': fields!,
if (immutable != null) 'immutable': immutable!,
if (maxValue != null) 'maxValue': maxValue!,
if (minValue != null) 'minValue': minValue!,
if (paramId != null) 'paramId': paramId!,
if (recurse != null) 'recurse': recurse!,
if (repeated != null) 'repeated': repeated!,
if (required != null) 'required': required!,
if (type != null) 'type': type!,
if (validationDescription != null)
'validationDescription': validationDescription!,
if (validationHelpUrl != null) 'validationHelpUrl': validationHelpUrl!,
if (validationRegex != null) 'validationRegex': validationRegex!,
};