getUserPreferenceTopic method

Future<GetCourierUserPreferencesTopic> getUserPreferenceTopic({
  1. required String topicId,
})

Implementation

Future<GetCourierUserPreferencesTopic> getUserPreferenceTopic({required String topicId}) async {
  final data = await _options.invokeClient('preferences.get_user_preference_topic', {
    'topicId': topicId,
  });
  final Map<String, dynamic> map = json.decode(data);
  return GetCourierUserPreferencesTopic.fromJson(map);
}