view method
Implementation
@override
Stream<List<int>> view({
required String id,
String? authorization,
String? ifNoneMatch,
}) async* {
final response = await _client.request(
method: 'GET',
path: '/img/${id}',
headers: {'authorization': authorization, 'if-none-match': ifNoneMatch},
);
yield* response.handleError((_) {
// do nothing
}, test: isTransportError);
}