toMap method
As a map.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
"id": id,
"name": name,
"description": description,
"importance": importance.name,
"sound": sound,
"vibration": vibration,
"vibrationPattern": vibrationPattern,
"lightColor": lightColor,
"showBadge": showBadge,
"bypassDnd": bypassDnd,
"visibility": visibility.name,
"group": group,
};