get method

Future<Response> get()

Get Account

Get currently logged in user data as JSON object.

Implementation

Future<req.Response> get() {
  final String path = '/account';

  final Map<String, dynamic> params = {};

  final Map<String, String> headers = {
    'content-type': 'application/json',
  };

  return client.call(HttpMethod.get,
      path: path, params: params, headers: headers);
}