getStatusList method

Future<List<ProductStatus>> getStatusList()

Implementation

Future<List<ProductStatus>> getStatusList() async {
  NetworkResponse response = await _api.getStatusList();
  return response.data ?? [];
}