isValid method

  1. @override
bool isValid(
  1. String? value
)
override

Validation function

Implementation

@override
bool isValid(String? value) => value?.isEmpty ?? true;