This commit is contained in:
Sai Naw Wun
2020-10-07 02:33:06 +06:30
parent 01a2798a74
commit 65dda16fe6
475 changed files with 1543 additions and 90780 deletions

View File

@@ -0,0 +1,9 @@
typedef OnNotify(Map<String, dynamic> message);
typedef OnSetupComplete(String token);
abstract class MessagingService {
void init(OnNotify onMessage,
{OnNotify onLaunch, OnNotify onResume, OnSetupComplete onSetupComplete});
Future<void> subscribe(String topic);
Future<void> unsubscribe(String topic);
}