toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (apiVersion != null) 'apiVersion': apiVersion!,
if (deprecated != null) 'deprecated': deprecated!,
if (description != null) 'description': description!,
if (etagRequired != null) 'etagRequired': etagRequired!,
if (flatPath != null) 'flatPath': flatPath!,
if (httpMethod != null) 'httpMethod': httpMethod!,
if (id != null) 'id': id!,
if (mediaUpload != null) 'mediaUpload': mediaUpload!,
if (parameterOrder != null) 'parameterOrder': parameterOrder!,
if (parameters != null) 'parameters': parameters!,
if (path != null) 'path': path!,
if (request != null) 'request': request!,
if (response != null) 'response': response!,
if (scopes != null) 'scopes': scopes!,
if (supportsMediaDownload != null)
'supportsMediaDownload': supportsMediaDownload!,
if (supportsMediaUpload != null)
'supportsMediaUpload': supportsMediaUpload!,
if (supportsSubscription != null)
'supportsSubscription': supportsSubscription!,
if (useMediaDownloadService != null)
'useMediaDownloadService': useMediaDownloadService!,
};