value property

T get value

Implementation

T get value{
  assert((){
    if(control == null && (formGroup == null || name == null)){
      throw FlutterError('ControlValueAcessor: model or formGroup and name must be provided to access Value');
    }
    return true;
  }());
  if(control != null) return control!.value;
  return formGroup!.control(name!).value;
}