mirror of https://github.com/AMT-Cheif/drift.git
parent
8b3d0bd370
commit
39da7ee2e2
|
@ -169,7 +169,7 @@ class BlobType extends SqlType<Uint8List> {
|
|||
@override
|
||||
Uint8List? mapFromDatabaseResponse(dynamic response) {
|
||||
if (response is String) {
|
||||
var list = response.codeUnits;
|
||||
final list = response.codeUnits;
|
||||
return Uint8List.fromList(list);
|
||||
}
|
||||
return response as Uint8List?;
|
||||
|
|
Loading…
Reference in New Issue