pushJson method

Map<String, Object?> pushJson()

The device push payload: only the facts that change mid-session.

Implementation

Map<String, Object?> pushJson() => {
      'tier': tier,
      'thermal': thermal,
      'lowPower': lowPower,
      'reducedMotion': reducedMotion,
      'hapticsAllowed': hapticsAllowed,
      'soundAllowed': soundAllowed,
    };