BulkCheckResponse.fromJson constructor

BulkCheckResponse.fromJson(
  1. Map json_
)

Implementation

BulkCheckResponse.fromJson(core.Map json_)
    : this(
        bulkErrorCode: json_.containsKey('bulkErrorCode')
            ? json_['bulkErrorCode'] as core.String
            : null,
        checkResults: json_.containsKey('checkResults')
            ? (json_['checkResults'] as core.List)
                .map((value) => CheckResponse.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );