getAndroidId method

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

Implementation

@override
Future<String> getAndroidId()async{
  if(Platform.isIOS){
    return "";
  }
  return await methodChannel.invokeMethod("getAndroidId");
}