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,
      );