toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attachedInstances != null) 'attachedInstances': attachedInstances!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (disk != null) 'disk': disk!,
      if (name != null) 'name': name!,
      if (provisionedIops != null) 'provisionedIops': provisionedIops!,
      if (provisionedThroughput != null)
        'provisionedThroughput': provisionedThroughput!,
      if (resourcePolicies != null) 'resourcePolicies': resourcePolicies!,
      if (sizeGb != null) 'sizeGb': sizeGb!,
      if (status != null) 'status': status!,
      if (type != null) 'type': type!,
      if (usedBytes != null) 'usedBytes': usedBytes!,
    };