anchor.diff:      extends Bloc<RegisterDeviceEvent, RegisterDeviceState> {
     final RegisterDevice registerDevice;
     final Settings settings;
  +  final OneSignalDataSource onesignal;
     final Logging logging;
   
     RegisterDeviceBloc({
       @required this.registerDevice,
       @required this.settings,
  +    @required this.onesignal,
       @required this.logging,
     }) : super(RegisterDeviceInitial());
   
  
positive.code:               plexName: registeredData['pms_name'],
                plexIdentifier: registeredData['pms_identifier'],
                plexPass: plexPass,
              ),
            );
  
  
negative.code:     final primaryConnectionDomain = primaryConnectionMap['domain'];
      final primaryConnectionPath = primaryConnectionMap['path'];
  
      final onesignalRegistered = isNotEmpty(await onesignal.userId);
  
      final failureOrRegistered = await registerDevice(
        connectionProtocol: primaryConnectionProtocol,
        connectionDomain: primaryConnectionDomain,
  