Gets the device id.
Future<String> getDeviceId() { return _channel .invokeMethod('getDeviceId') .then<String>((dynamic result) => result); }