notification property

Notification get notification

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

Notification get notification {
  try {
    if (rawData["notification"] is Map == false) {
      return Notification({});
    }
    return Notification(rawData["notification"] as Map);
  } catch (e) {
    return Notification({});
  }
}
set notification (Notification value)

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

set notification(Notification value) {
  rawData["notification"] = value.toJson();
}