dispose method
override
    Closes the connection to the device.
Implementation
@override
Future<void> dispose() async {
  _orientation = Orientation();
  await super.dispose();
}
Closes the connection to the device.
@override
Future<void> dispose() async {
  _orientation = Orientation();
  await super.dispose();
}