Creates an instance of Filaments.
Base of filaments
Colour of filaments.
Filaments length in milimeters (mm).
Source.
Sets a single value for length.
The length value in milimeters (mm).
Error if present is false and value is not null.
present
false
value
null
Sets the length values, considering the value of present.
The minimum length value in milimeters (mm).
The maximum length value in milimeters (mm).
Error if present is false and either min or max is not null.
min
max
Error if min is greater than or equal to max.
Creates an instance of Filaments.