valueOrNull property
T?
get
valueOrNull
The non-null value, or null when the field is absent or explicitly null.
Implementation
T? get valueOrNull => switch (this) {
AcpFieldValue<T>(:final value) => value,
AcpFieldAbsent<T>() || AcpFieldNull<T>() => null,
};