isSupportStateApi method

  1. @override
Future<bool> isSupportStateApi()
override

判断当前微信的版本是否支持分享微信状态功能

Implementation

@override
Future<bool> isSupportStateApi() async {
  return await methodChannel.invokeMethod<bool>('isSupportStateApi') ?? false;
}