GoogleFirebaseFcmDataV1beta1Data.fromJson constructor

GoogleFirebaseFcmDataV1beta1Data.fromJson(
  1. Map json_
)

Implementation

GoogleFirebaseFcmDataV1beta1Data.fromJson(core.Map json_)
    : this(
        countMessagesAccepted: json_.containsKey('countMessagesAccepted')
            ? json_['countMessagesAccepted'] as core.String
            : null,
        deliveryPerformancePercents:
            json_.containsKey('deliveryPerformancePercents')
                ? GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents
                    .fromJson(json_['deliveryPerformancePercents']
                        as core.Map<core.String, core.dynamic>)
                : null,
        messageInsightPercents: json_.containsKey('messageInsightPercents')
            ? GoogleFirebaseFcmDataV1beta1MessageInsightPercents.fromJson(
                json_['messageInsightPercents']
                    as core.Map<core.String, core.dynamic>)
            : null,
        messageOutcomePercents: json_.containsKey('messageOutcomePercents')
            ? GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson(
                json_['messageOutcomePercents']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );