enableOfflinePush method Null safety
Turns on the push notification.
Throws A description of the issue that caused this exception. See {@link ChatError}
Implementation
Future<void> enableOfflinePush() async {
Map result = await _channel.invokeMethod(ChatMethodKeys.enableOfflinePush);
try {
ChatError.hasErrorFromResult(result);
} on ChatError catch (e) {
throw e;
}
}