GoogleFirebaseFcmDataV1beta1Data.fromJson constructor
GoogleFirebaseFcmDataV1beta1Data.fromJson(
- 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,
);