CheckResponse.fromJson constructor

CheckResponse.fromJson(
  1. Map json_
)

Implementation

CheckResponse.fromJson(core.Map json_)
    : this(
        checkErrors: (json_['checkErrors'] as core.List?)
            ?.map((value) => CheckError.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        checkInfo: json_.containsKey('checkInfo')
            ? CheckInfo.fromJson(
                json_['checkInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        operationId: json_['operationId'] as core.String?,
        quotaInfo: json_.containsKey('quotaInfo')
            ? QuotaInfo.fromJson(
                json_['quotaInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        serviceConfigId: json_['serviceConfigId'] as core.String?,
        serviceRolloutId: json_['serviceRolloutId'] as core.String?,
      );