getDeviceId method

Future<String> getDeviceId()

Settings.Secure.ANDROID_ID

Implementation

Future<String> getDeviceId() async {
  return await _channel.invokeMethod<String>('$_name/getDeviceId') ?? '';
}