setValueFromString method

  1. @override
void setValueFromString(
  1. String valueString
)
override

Sets the value from a String.

Implementation

@override
void setValueFromString(String valueString) =>
    value = int.tryParse(valueString) ?? value;