getAndroidID method
获取 AndroidID(可能为 null)
Implementation
@override
Future<String?> getAndroidID() async {
try {
final result = await methodChannel.invokeMethod<String?>('getAndroidID');
return (result == null || result.isEmpty) ? null : result;
} on PlatformException catch (e) {
throw OaidException(code: e.code, message: e.message);
}
}