toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (destinationAddress != null)
        'destinationAddress': destinationAddress!,
      if (destinationPort != null) 'destinationPort': destinationPort!,
      if (displayName != null) 'displayName': displayName!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (updateTime != null) 'updateTime': updateTime!,
    };