whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? commit(
    1. Commit data
    )?,
  2. TResult? identity(
    1. Identity data
    )?,
  3. TResult? account(
    1. Account data
    )?,
  4. TResult? info(
    1. Info data
    )?,
  5. TResult? unknown(
    1. Map<String, dynamic> data
    )?,
})
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;