never<T> static method

EndlessStateProperty<T> never<T>()

Convenience method for creating a EndlessStateProperty that resolves to null for all states.

Implementation

static EndlessStateProperty<T> never<T>() =>
    _EndlessStatePropertyValue<T>((context) => null);