isAvaiable method

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

获取农行掌银是否存在且可用

Implementation

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