onStateUpdate method
Returns new state from platform side.
Implementation
@override
void onStateUpdate(ConnectionStateCallback connectionState) =>
onUpdate?.call(connectionState);
Returns new state from platform side.
@override
void onStateUpdate(ConnectionStateCallback connectionState) =>
onUpdate?.call(connectionState);