Coerces the String value of the MaterialInput into type of T.
MaterialInput
T
T parseNumber(String? input);