toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authConfig != null) 'authConfig': authConfig!,
      if (backendVariableTemplates != null)
        'backendVariableTemplates': backendVariableTemplates!,
      if (createTime != null) 'createTime': createTime!,
      if (destinationConfigs != null)
        'destinationConfigs': destinationConfigs!,
      if (enableBackendDestinationConfig != null)
        'enableBackendDestinationConfig': enableBackendDestinationConfig!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (specLocation != null) 'specLocation': specLocation!,
      if (specServerUrls != null) 'specServerUrls': specServerUrls!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };