when<TResult extends Object?> method

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