Tells whether the instance is valid.
@override bool isValid(T instance) { if (!super.isValid(instance)) { return false; } final mapper = _IsValidMapper(); map(mapper, instance); return mapper._isValid; }