custom static method
Implementation
static Insertable<UniversityData> custom({
Expression<int>? id,
Expression<String>? code,
Expression<String>? name,
Expression<String>? nameInEnglish,
Expression<bool>? active,
Expression<bool>? locked,
Expression<String>? imagePath,
Expression<String>? description,
Expression<String>? note,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (code != null) 'code': code,
if (name != null) 'name': name,
if (nameInEnglish != null) 'name_in_english': nameInEnglish,
if (active != null) 'active': active,
if (locked != null) 'locked': locked,
if (imagePath != null) 'image_path': imagePath,
if (description != null) 'description': description,
if (note != null) 'note': note,
});
}