handleValidator method

String? handleValidator(
  1. dynamic value
)

Implementation

String? handleValidator(value) {
  if (value!.isEmpty || !Const.handle.hasMatch(value)) {
    return tr('signup.handle.unmatch');
  }
  return null;
}