createChannels method
Implementation
@override
Future<List<NotificationChannel>> createChannels(List<NotificationChannel> channels) async {
var result = await methodChannel.invokeMethod<List>(
'createChannels',
channels.map((channel) => channel.toJson()).toList(),
) ??
[];
result = result.map((e) => Map<String, dynamic>.from(e)).toList();
return result.map((json) => NotificationChannel.fromJson(json)).toList();
}