toValue method Null safety

String? toValue()

Implementation

String? toValue() => _value;