evaluate method
Implementation
@override
T evaluate() {
var result = value.evaluate();
if (result == null) {
throw NullReferenceException(
'Instance of type $T is null and can\'t be converted to non-nullable');
}
return result;
}