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