FormCast.number constructor
FormCast.number({
- bool decimal = false,
Cast to a number
Implementation
FormCast.number({bool decimal = false}) {
type = "number";
if (decimal) {
type = "number:decimal";
}
}