FieldModel<TSource, TValue> constructor

FieldModel<TSource, TValue>({
  1. required TValue initialValue,
  2. Iterable<BaseRule> rules = const [],
})

Implementation

FieldModel({required TValue initialValue, this.rules = const []})
    : _value = initialValue {
  _internalValue = _getSourceValue(initialValue);
}