positionInfo method

Future<Position> positionInfo(
  1. int id
)

Implementation

Future<Position> positionInfo(int id) async {
  final json = await repository.position(id);

  return Position.fromJson(json);
}