validMobile static method

PhoneNumberInputValidator validMobile(
  1. BuildContext context, {
  2. String? errorText,
})

convenience shortcut method for invalidType(context, PhoneNumberType.mobile, ...)

Implementation

static PhoneNumberInputValidator validMobile(
  BuildContext context, {
  /// custom error message
  String? errorText,
}) =>
    validType(
      context,
      PhoneNumberType.mobile,
      errorText: errorText,
    );