toMap method

  1. @override
Map<String, dynamic> toMap()

Converts the NotificationChannelGroup instance to a map.

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    NOTIFICATION_CHANNEL_GROUP_KEY: _channelGroupKey,
    NOTIFICATION_CHANNEL_GROUP_NAME: _channelGroupName
  };
}