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 (exportPsc != null) 'exportPsc': exportPsc!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (policyMode != null) 'policyMode': policyMode!,
      if (presetTopology != null) 'presetTopology': presetTopology!,
      if (routeTables != null) 'routeTables': routeTables!,
      if (routingVpcs != null) 'routingVpcs': routingVpcs!,
      if (spokeSummary != null) 'spokeSummary': spokeSummary!,
      if (state != null) 'state': state!,
      if (uniqueId != null) 'uniqueId': uniqueId!,
      if (updateTime != null) 'updateTime': updateTime!,
    };