isValid method Null safety

bool isValid(
  1. T value
)

checks the input against the given conditions

Implementation

bool isValid(T value);