setAppChannel method

Future<bool> setAppChannel(
  1. String channel
)

设置通道

Implementation

Future<bool> setAppChannel(String channel) async {
  if (!_supportPlatform) return false;
  final bool? state =
      await _channel.invokeMethod<bool?>('setAppChannel', channel);
  return state ?? false;
}