getChannel method
Implementation
@override
Future<NotificationChannel?> getChannel(String channelId,
{String? conversationId}) async {
final result = await methodChannel.invokeMethod<Map<dynamic, dynamic>>(
'getChannel',
{'id': channelId, 'conversationId': conversationId},
);
if (result == null) return null;
final map = Map<String, dynamic>.from(result);
return NotificationChannel.fromJson(map);
}