This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:bloc/bloc.dart'; | |
void main() async{ | |
final pushNotification = PushNotification(); | |
final v1 = V1PushNotificationBloc(pushNotification: pushNotification); | |
v1.add(PushNotificationEvent.started()); | |
v1.add(PushNotificationEvent.subscribe("V1PushNotificationBlocTopic")); | |
await Future.delayed(Duration(seconds: 1), (){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
print("entry point"); | |
print(string); | |
print(string); | |
print(customClass); | |
print(customClass); | |
print("exit point"); | |
} |