validFixedLine static method

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

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

Implementation

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