mirror of https://github.com/AMT-Cheif/drift.git
use .toString() instead of casting to String in StringType
This commit is contained in:
parent
01db5e2afc
commit
e7f37f5e93
|
@ -42,7 +42,7 @@ class StringType extends SqlType<String> {
|
|||
const StringType();
|
||||
|
||||
@override
|
||||
String mapFromDatabaseResponse(response) => response as String;
|
||||
String mapFromDatabaseResponse(response) => response.toString();
|
||||
|
||||
@override
|
||||
String mapToSqlConstant(String content) {
|
||||
|
|
Loading…
Reference in New Issue