maxLength method

  1. @override
String maxLength(
  1. int length
)
override

String used to get a message saying that the input may not be longer than length

Implementation

@override
String maxLength(int length) {
  return 'Must not be longer than $length characters';
}