GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson constructor

GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson(
  1. Map json_
)

Implementation

GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson(core.Map json_)
    : this(
        delivered: json_.containsKey('delivered')
            ? (json_['delivered'] as core.num).toDouble()
            : null,
        droppedAppForceStopped: json_.containsKey('droppedAppForceStopped')
            ? (json_['droppedAppForceStopped'] as core.num).toDouble()
            : null,
        droppedDeviceInactive: json_.containsKey('droppedDeviceInactive')
            ? (json_['droppedDeviceInactive'] as core.num).toDouble()
            : null,
        droppedTooManyPendingMessages: json_
                .containsKey('droppedTooManyPendingMessages')
            ? (json_['droppedTooManyPendingMessages'] as core.num).toDouble()
            : null,
        pending: json_.containsKey('pending')
            ? (json_['pending'] as core.num).toDouble()
            : null,
      );