appStart method
app启动
channel
– 渠道名称 : huawei、baidu、xiaomi ios 等
Implementation
Future<bool> appStart(String channel) async {
if (!_supportPlatform || !isInitialize) return false;
final bool? state = await _channel.invokeMethod<bool>('appStart', channel);
return state ?? false;
}