Future find(int id) async { Database db = await database; _result = await db.rawQuery("SELECT * FROM $table WHERE id = $id"); if (_result.isEmpty) return null; return fromMap(_result.first); }