Future<bool> upsert() async { var exception = await Database().upsert(tableName, _dbKey, _toMap()); return (exception == null); }