maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult commit(
- Commit data
- TResult identity(
- Identity data
- TResult account(
- Account data
- TResult handle(
- Handle data
- TResult migrate(
- Migrate data
- TResult tombstone(
- Tombstone 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(Handle data)? handle,
TResult Function(Migrate data)? migrate,
TResult Function(Tombstone data)? tombstone,
TResult Function(Info data)? info,
TResult Function(Map<String, dynamic> data)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;