ConversionsBatchUpdateResponse.fromJson constructor

ConversionsBatchUpdateResponse.fromJson(
  1. Map json_
)

Implementation

ConversionsBatchUpdateResponse.fromJson(core.Map json_)
    : this(
        hasFailures: json_.containsKey('hasFailures')
            ? json_['hasFailures'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        status: json_.containsKey('status')
            ? (json_['status'] as core.List)
                .map((value) => ConversionStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );