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