notifications property
List<Notification>
get
notifications
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
List<Notification> get notifications {
try {
if (rawData["notifications"] is List == false) {
return [];
}
return (rawData["notifications"] as List).map((e) => Notification(e as Map)).toList().cast<Notification>();
} catch (e) {
return [];
}
}
set
notifications
(List<Notification> values)
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
set notifications(List<Notification> values) {
rawData["notifications"] = values.map((value) => value.toJson()).toList();
}