endAttributeValidation method

  1. @override
void endAttributeValidation(
  1. dynamic attribute
)
override

Marks the end of validation for a concrete attribute.

Implementation

@override
void endAttributeValidation(dynamic attribute) {
  final key = identityHashCode(attribute);
  if (_validationStack.isNotEmpty && _validationStack.last == key) {
    _validationStack.removeLast();
  } else {
    _validationStack.remove(key);
  }
}