groups property

List<NotificationGroup> get groups

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

Implementation

List<NotificationGroup> get groups {
  try {
    if (rawData["groups"] is List == false) {
      return [];
    }
    return (rawData["groups"] as List).map((e) => NotificationGroup(e as Map)).toList().cast<NotificationGroup>();
  } catch (e) {
    return [];
  }
}
set groups (List<NotificationGroup> values)

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

Implementation

set groups(List<NotificationGroup> values) {
  rawData["groups"] = values.map((value) => value.toJson()).toList();
}