isValid method Null safety

bool isValid()

Implementation

bool isValid() => value.isRight();