toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (disks != null) 'disks': disks!,
      if (externalIPs != null) 'externalIPs': externalIPs!,
      if (internalIPs != null) 'internalIPs': internalIPs!,
      if (metadata != null) 'metadata': metadata!,
    };