getParticipantPublicInfo method

  1. @override
Future<ParticipantPublicInfo> getParticipantPublicInfo({
  1. required String token,
})
override

Implementation

@override
Future<ParticipantPublicInfo> getParticipantPublicInfo({
  required String token,
}) async {
  final response = await dio.get(
    '/microsite/participants/info',
    options: Options(headers: {'Authorization': 'Bearer $token'}),
  );
  final Map<String, dynamic> responseData = jsonDecode(response.data);
  return _jsonToParticipantPublicInfo(responseData);
}