toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (delegatingServiceAccount != null)
    'delegatingServiceAccount': delegatingServiceAccount!,
  if (displayName != null) 'displayName': displayName!,
  if (externalIps != null) 'externalIps': externalIps!,
  if (hubs != null) 'hubs': hubs!,
  if (name != null) 'name': name!,
  if (proxyProtocolConfig != null)
    'proxyProtocolConfig': proxyProtocolConfig!,
  if (serviceDiscovery != null) 'serviceDiscovery': serviceDiscovery!,
  if (state != null) 'state': state!,
  if (updateTime != null) 'updateTime': updateTime!,
};