V2TimOfflinePushInfo.fromJson constructor

V2TimOfflinePushInfo.fromJson(
  1. Map json
)

Implementation

V2TimOfflinePushInfo.fromJson(Map json) {
  json = Utils.formatJson(json);
  title = json['title'];
  desc = json['desc'];
  ext = json['ext'];
  disablePush = json['disablePush'] ?? false;
  iOSSound = json['iOSSound'];
  ignoreIOSBadge = json['ignoreIOSBadge'];
  androidOPPOChannelID = (json['androidOPPOChannelID'] ?? "").toString();
  androidSound = (json['androidSound'] ?? "").toString();
  androidVIVOClassification =
      (json['androidVIVOClassification'] ?? "").toString();
}