V2TimOfflinePushInfo.fromJson constructor

V2TimOfflinePushInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimOfflinePushInfo.fromJson(Map<String, dynamic> 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();
}