changeNotifier property
ChangeNotifier
get
changeNotifier
Implementation
ChangeNotifier get changeNotifier{
assert((){
if(control == null && (formGroup == null || name == null)){
throw FlutterError('ControlValueAcessor: model or formGroup and name must be provided to access Change Notifier');
}
return true;
}());
if(control != null) return control!;
return formGroup!.control<T>(name!);
}