toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (consistencyGroupPolicy != null)
        'consistencyGroupPolicy': consistencyGroupPolicy!,
      if (consistencyGroupPolicyId != null)
        'consistencyGroupPolicyId': consistencyGroupPolicyId!,
      if (disk != null) 'disk': disk!,
      if (diskId != null) 'diskId': diskId!,
    };