updateUserOfflinePushRule method
Implementation
Future<Map<dynamic, dynamic>> updateUserOfflinePushRule(
dynamic offlinePushRule) async {
final result = await promiseToFuture(ZIM
.getInstance()!
.updateUserOfflinePushRule(mapToJSObj(offlinePushRule)))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}