model property

  1. @Input('ngModel')
void model=(dynamic value)

Implementation

@Input('ngModel')
set model(dynamic value) {
  /// Make sure input actually changed so we don't override
  /// viewModel passed to us using viewToModelUpdate from proxies.
  if (identical(_model, value)) return;
  _model = value;
  if (identical(value, viewModel)) return;

  /// Mark as changed so we can commit to viewModel in ngAfterChanges
  /// lifecycle.
  _modelChanged = true;
}