filesetFieldFromValue static method
Creates a FilesetField from a database value.
value
should be the fileset identifier (string) from the database.
database
is the DeclarativeDatabase instance.
Implementation
static FilesetField? filesetFieldFromValue(
dynamic value,
DeclarativeDatabase database,
) {
if (value == null) return null;
return FilesetField.fromDatabaseValue(value, database);
}