invalidate method

  1. @override
Entity<T> invalidate()
override

Creates an invalid entity out of this one

Implementation

@override
Entity<T> invalidate() {
  return copyWith(validator: NeverValid.instance);
}