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