setInputMaxLength function
Implementation
void setInputMaxLength(input, int value) {
assert(isInputElement(input));
if (input != null)
input.maxLength = value;
}
void setInputMaxLength(input, int value) {
assert(isInputElement(input));
if (input != null)
input.maxLength = value;
}