toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (default_ != null) 'default': default_!,
if (description != null) 'description': description!,
if (example != null) 'example': example!,
if (immutable != null) 'immutable': immutable!,
if (label != null) 'label': label!,
if (options != null) 'options': options!,
if (param != null) 'param': param!,
if (required != null) 'required': required!,
if (resourceInfo != null) 'resourceInfo': resourceInfo!,
if (type != null) 'type': type!,
if (validationErrorMessage != null)
'validationErrorMessage': validationErrorMessage!,
if (validationRegex != null) 'validationRegex': validationRegex!,
};