eq<T> function Null safety

MatchCase<T> eq<T>(
  1. T value
)

Implementation

MatchCase<T> eq<T>(T value) {
  return (n) => n == value;
}