toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (name != null) 'name': name!,
      if (peeringId != null) 'peeringId': peeringId!,
      if (peeringState != null) 'peeringState': peeringState!,
      if (routingMode != null) 'routingMode': routingMode!,
      if (serviceNetwork != null) 'serviceNetwork': serviceNetwork!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (vmwareEngineNetwork != null)
        'vmwareEngineNetwork': vmwareEngineNetwork!,
      if (vmwareEngineNetworkCanonical != null)
        'vmwareEngineNetworkCanonical': vmwareEngineNetworkCanonical!,
    };