toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (apis != null) 'apis': apis!,
  if (aspects != null) 'aspects': aspects!,
  if (authentication != null) 'authentication': authentication!,
  if (backend != null) 'backend': backend!,
  if (billing != null) 'billing': billing!,
  if (configVersion != null) 'configVersion': configVersion!,
  if (context != null) 'context': context!,
  if (control != null) 'control': control!,
  if (customError != null) 'customError': customError!,
  if (documentation != null) 'documentation': documentation!,
  if (endpoints != null) 'endpoints': endpoints!,
  if (enums != null) 'enums': enums!,
  if (http != null) 'http': http!,
  if (id != null) 'id': id!,
  if (logging != null) 'logging': logging!,
  if (logs != null) 'logs': logs!,
  if (metrics != null) 'metrics': metrics!,
  if (monitoredResources != null) 'monitoredResources': monitoredResources!,
  if (monitoring != null) 'monitoring': monitoring!,
  if (name != null) 'name': name!,
  if (producerProjectId != null) 'producerProjectId': producerProjectId!,
  if (publishing != null) 'publishing': publishing!,
  if (quota != null) 'quota': quota!,
  if (sourceInfo != null) 'sourceInfo': sourceInfo!,
  if (systemParameters != null) 'systemParameters': systemParameters!,
  if (systemTypes != null) 'systemTypes': systemTypes!,
  if (title != null) 'title': title!,
  if (types != null) 'types': types!,
  if (usage != null) 'usage': usage!,
};