getBytes method

Future<Uint8List> getBytes()

Implementation

Future<Uint8List> getBytes() async {
  dynamic response = await _fireRequest(getResponseBytes: true) as Uint8List;
  try {
    return response;
  } catch (e) {
    throw errorModel(response, e.toString(), ExpectType.bytes);
  }
}