DiskAsyncReplication.fromJson constructor

DiskAsyncReplication.fromJson(
  1. Map json_
)

Implementation

DiskAsyncReplication.fromJson(core.Map json_)
    : this(
        consistencyGroupPolicy: json_.containsKey('consistencyGroupPolicy')
            ? json_['consistencyGroupPolicy'] as core.String
            : null,
        consistencyGroupPolicyId:
            json_.containsKey('consistencyGroupPolicyId')
                ? json_['consistencyGroupPolicyId'] as core.String
                : null,
        disk: json_.containsKey('disk') ? json_['disk'] as core.String : null,
        diskId: json_.containsKey('diskId')
            ? json_['diskId'] as core.String
            : null,
      );