data property
T?
get
data
Get data if in success state, null otherwise
Implementation
T? get data => switch (this) {
SuccessState<T, E>(data: final d) => d,
_ => null,
};
Get data if in success state, null otherwise
T? get data => switch (this) {
SuccessState<T, E>(data: final d) => d,
_ => null,
};