createChannel method
Implementation
@override
Future<NotificationChannel> createChannel(NotificationChannel notificationChannel) async {
var result = await methodChannel.invokeMethod<Map>(
'createChannel',
notificationChannel.toJson(),
);
result = Map<String, dynamic>.from(result!);
return NotificationChannel.fromJson(result as Map<String, dynamic>);
}