未来不是一种类型。尝试更正名称以匹配现有类型。dartnot_a_type
我在 flutter 中使用 sqflite,这是我将值插入表的代码,我在其中收到此错误:
Future<List<Map<String,dynamic>>> getNoteMapList() async {
Database db = await this.database;
var result = await db.query(noteTable, orderBy: '$colPriority ASC');
return result;
}
Run Code Online (Sandbox Code Playgroud)