mirror of https://github.com/AMT-Cheif/drift.git
Fix for reading blob
mapFromDatabaseResponse fixed for BlobType
This commit is contained in:
parent
0a2cc40ba5
commit
13ca9d1b0a
|
@ -168,7 +168,8 @@ class BlobType extends SqlType<Uint8List> {
|
|||
|
||||
@override
|
||||
Uint8List? mapFromDatabaseResponse(dynamic response) {
|
||||
return response as Uint8List?;
|
||||
var list = response.codeUnits;
|
||||
return Uint8List.fromList(list);
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
Loading…
Reference in New Issue