dispose method
Closes streams depending on the current state
Implementation
@override
void dispose() {
_permissionStreamSub?.cancel();
_physicalButtonStreamSub?.cancel();
}
Closes streams depending on the current state
@override
void dispose() {
_permissionStreamSub?.cancel();
_physicalButtonStreamSub?.cancel();
}