getBrand method

Future<CourierBrandResponse> getBrand({
  1. required String brandId,
})

Implementation

Future<CourierBrandResponse> getBrand({required String brandId}) async {
  final data = await _options.invokeClient('brands.get_brand', {
    'brandId': brandId,
  });
  final Map<String, dynamic> map = json.decode(data);
  return CourierBrandResponse.fromJson(map);
}