isPushOffline property

bool get isPushOffline

是否是SDK通知会话失效,状态离线

Implementation

bool get isPushOffline {
  return Platform.isAndroid && code == MethodCode.pushMessageOffline ||
      Platform.isIOS && code == 2004;
}