Future<int> insert(T instanceOfModel) async { return await adapter.insert( model.getTableName(), instanceOfModel.toJsonWithoutNullAndId()); }