getProfile method

Future<Profile> getProfile(
  1. String account
)

Implementation

Future<Profile> getProfile(String account) async {
  final bodyJson = await _fetchPostData(
    method: 'bridge.get_profile',
    params: {'account': account},
  );

  return Profile.fromJson(bodyJson['result'] as Map<String, dynamic>);
}