setUserCategoryPreference static method
Implementation
static Future<dynamic> setUserCategoryPreference(int categoryId, bool categoryEnabled) async {
return await _platform
.invokeMethod(_SET_USER_CATEGORY_PREFERENCE, {"categoryId": categoryId, "categoryEnabled": categoryEnabled});
}