Decodes the value from a string.
@override num? decode(String value) => value.isEmpty ? null : num.parse(value);