GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents.fromJson constructor

GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents.fromJson(
    core.Map _json)
    : this(
        delayedDeviceDoze: _json.containsKey('delayedDeviceDoze')
            ? (_json['delayedDeviceDoze'] as core.num).toDouble()
            : null,
        delayedDeviceOffline: _json.containsKey('delayedDeviceOffline')
            ? (_json['delayedDeviceOffline'] as core.num).toDouble()
            : null,
        delayedMessageThrottled: _json.containsKey('delayedMessageThrottled')
            ? (_json['delayedMessageThrottled'] as core.num).toDouble()
            : null,
        delayedUserStopped: _json.containsKey('delayedUserStopped')
            ? (_json['delayedUserStopped'] as core.num).toDouble()
            : null,
        deliveredNoDelay: _json.containsKey('deliveredNoDelay')
            ? (_json['deliveredNoDelay'] as core.num).toDouble()
            : null,
      );