registerToTopic static method
Register the current device to a topic.
@param topic The topic you will register to. @returns A future that completes once the registration is successful.
Implementation
static Future<void> registerToTopic(MPTopic topic) async =>
MBPush.registerToTopic(topic);