Unit.int constructor
Unit.int({
- required String uName,
- List<
Constraints> ? constraints, - int? defaultValue,
创建Integer类型的字段
Implementation
factory Unit.int({required String uName, List<Constraints>? constraints, int? defaultValue}) {
return UnitInteger(uName: uName, constraints: constraints, defaultValue: defaultValue).toTableUnit();
}