createAndroidChannelGroup method
创建通知通道的分组
Implementation
@override
Future<Map<dynamic, dynamic>> createAndroidChannelGroup(
String id, String name, String desc) async {
if (!Platform.isAndroid) {
return {
'code': kAliyunPushOnlyAndroid,
'errorMsg': 'Only support Android',
};
}
Map<dynamic, dynamic> result = await methodChannel.invokeMethod(
'createChannelGroup', {'id': id, 'name': name, 'desc': desc});
return result;
}