GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse.fromJson constructor

GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse.fromJson(
    core.Map _json)
    : this(
        androidDeliveryData: _json.containsKey('androidDeliveryData')
            ? (_json['androidDeliveryData'] as core.List)
                .map<GoogleFirebaseFcmDataV1beta1AndroidDeliveryData>(
                    (value) => GoogleFirebaseFcmDataV1beta1AndroidDeliveryData
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );