OfflinePushInfo.fromJson constructor

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

Implementation

OfflinePushInfo.fromJson(Map<String, dynamic> json) {
  title = json['title'];
  desc = json['desc'];
  ext = json['ext'];
  disablePush = json['disablePush'];
  iOSSound = json['iOSSound'];
  ignoreIOSBadge = json['ignoreIOSBadge'];
  androidOPPOChannelID = (json['androidOPPOChannelID'] ?? "").toString();
  androidSound = (json['androidSound'] ?? "").toString();
  androidVIVOClassification =
      (json['androidVIVOClassification'] ?? "").toString();
}