getSysadminUserProfile method

Future<Map<String, dynamic>> getSysadminUserProfile(
  1. String userId
)

Implementation

Future<Map<String, dynamic>> getSysadminUserProfile(String userId) async {
  final response = await httpClient.get(Uri.parse('$baseUrl/accounts/sysadmin/users/${Uri.encodeComponent(userId)}'));
  _checkProfileResponse(response);
  return jsonDecode(response.body) as Map<String, dynamic>;
}