subscribeOnRegistrationEvents method

  1. @override
Stream<RegistrationEvent> subscribeOnRegistrationEvents()
override

Stream of registration events messages

Implementation

@override
Stream<RegistrationEvent> subscribeOnRegistrationEvents() {
  return _registrationEventChannel.receiveBroadcastStream().map((event) {
    return RegistrationEvent.fromMap(event: event as Map<Object?, Object?>);
  });
}