subscribeToAuthStateChanges method

  1. @override
UnsubscribeFunction subscribeToAuthStateChanges(
  1. AuthStateCallback callback
)
override

Implementation

@override
UnsubscribeFunction subscribeToAuthStateChanges(AuthStateCallback callback) {
  final eventListener = EventListener(EventNames.authChange, callback);

  _subscribe(eventListener);

  return () => _unsubscribe(eventListener);
}