getUser method

Implementation

Future<Result<BucketeerUser>> getUser() async {
  return _resultGuard<BucketeerUser>(
    await _invokeMethod('getUser'),
    onDataChange: (response) {
      return BucketeerUser(
        id: response['id'],
        data: Map<String, String>.from(response['data']),
      );
    },
  );
}