maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult commit(
- Commit data
- TResult identity(
- Identity data
- TResult account(
- Account data
- TResult info(
- Info data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(Commit data)? commit,
TResult Function(Identity data)? identity,
TResult Function(Account data)? account,
TResult Function(Info data)? info,
TResult Function(Map<String, dynamic> data)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;