getGUID method

  1. @override
Future<String> getGUID()
override

获取 GUID(不为空)

Implementation

@override
Future<String> getGUID() async {
  try {
    final result = await methodChannel.invokeMethod<String>('getGUID');
    return result!;
  } on PlatformException catch (e) {
    throw OaidException(code: e.code, message: e.message);
  }
}