isValid property
bool
get
isValid
Implementation
bool get isValid{
assert((){
if(control == null && (formGroup == null || name == null)){
throw FlutterError('ControlValueAcessor: model or formGroup and name must be provided to verify if value is valid');
}
return true;
}());
if(control != null) return control!.valid;
return formGroup!.control(name!).valid;
}