whenOrNull<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()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;