getGroup method
Implementation
@override
Future<NotificationChannelGroup?> getGroup(String groupId) async {
final result = await methodChannel.invokeMethod<Map>('getGroup', groupId);
if (result == null) return null;
final map = Map<String, dynamic>.from(result);
map['channels'] = (map['channels'] as List).map((e) => Map<String, dynamic>.from(e)).toList();
return NotificationChannelGroup.fromJson(map);
}