getMadeWithoutById method

Future<MadeWithout> getMadeWithoutById(
  1. String id
)

Gets the made without that matches an id.

Implementation

Future<MadeWithout> getMadeWithoutById(String id) async {
  final response = await _context.client.get(
    Uri.https(authority, '$path/madewithouts/$id'),
  );

  ClientException.checkIsSuccessStatusCode(response);

  return MadeWithout.fromJson(json.decode(response.body));
}