always<T> function
T Function([dynamic _])
always<T>(
- T value
Returns a function that always returns the given value.
Implementation
T Function([dynamic _]) always<T>(T value) => ([dynamic _]) => value;