maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult recordViewRecord(
- RecordViewRecord data
- TResult recordViewNotFound(
- RecordViewNotFound data
- TResult recordViewBlocked(
- RecordViewBlocked data
- TResult recordViewDetached(
- RecordViewDetached data
- TResult generatorView(
- GeneratorView data
- TResult listView(
- ListView data
- TResult labelerView(
- LabelerView data
- TResult starterPackViewBasic(
- StarterPackViewBasic data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(RecordViewRecord data)? recordViewRecord,
TResult Function(RecordViewNotFound data)? recordViewNotFound,
TResult Function(RecordViewBlocked data)? recordViewBlocked,
TResult Function(RecordViewDetached data)? recordViewDetached,
TResult Function(GeneratorView data)? generatorView,
TResult Function(ListView data)? listView,
TResult Function(LabelerView data)? labelerView,
TResult Function(StarterPackViewBasic data)? starterPackViewBasic,
TResult Function(Map<String, dynamic> data)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;