toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (error != null) 'error': error!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (reservedIpRanges != null) 'reservedIpRanges': reservedIpRanges!,
      if (resourcePools != null) 'resourcePools': resourcePools!,
      if (resourceRuntime != null) 'resourceRuntime': resourceRuntime!,
      if (resourceRuntimeSpec != null)
        'resourceRuntimeSpec': resourceRuntimeSpec!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };