getBytes method
Get photo bytes of the photo
Uint8List image bytes
Implementation
@override
Future<Uint8List> getBytes(
String? id, {
String? uri,
}) {
assert(
(id?.isNotEmpty ?? false) || uri != null, "Id or uri must be provided");
return _invokeMethod<Uint8List>(method: Functions.getBytes, arguments: {
Arguments.id: id,
Arguments.uri: uri,
});
}