toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (gcpZone != null) 'gcpZone': gcpZone!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (peerProjectId != null) 'peerProjectId': peerProjectId!,
      if (state != null) 'state': state!,
    };