CheckMigrationPermissionResponse.fromJson constructor

CheckMigrationPermissionResponse.fromJson(
  1. Map json_
)

Implementation

CheckMigrationPermissionResponse.fromJson(core.Map json_)
    : this(
        onpremDomains: json_.containsKey('onpremDomains')
            ? (json_['onpremDomains'] as core.List)
                .map((value) => OnPremDomainSIDDetails.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );