parse static method
Parses the given textValue
Implementation
static Range parse(String textValue) {
switch (textValue) {
case 'THISANDFUTURE':
return Range.thisAndFuture;
default:
throw FormatException('Invalid range: [$textValue]');
}
}