mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? commit(
    1. USubscribedRepoCommit value
    )?,
  2. TResult? identity(
    1. USubscribedRepoIdentity value
    )?,
  3. TResult? account(
    1. USubscribedRepoAccount value
    )?,
  4. TResult? handle(
    1. USubscribedRepoHandle value
    )?,
  5. TResult? migrate(
    1. USubscribedRepoMigrate value
    )?,
  6. TResult? tombstone(
    1. USubscribedRepoTombstone value
    )?,
  7. TResult? info(
    1. USubscribedRepoInfo value
    )?,
  8. TResult? unknown(
    1. USubscribedRepoUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(USubscribedRepoCommit value)? commit,
  TResult? Function(USubscribedRepoIdentity value)? identity,
  TResult? Function(USubscribedRepoAccount value)? account,
  TResult? Function(USubscribedRepoHandle value)? handle,
  TResult? Function(USubscribedRepoMigrate value)? migrate,
  TResult? Function(USubscribedRepoTombstone value)? tombstone,
  TResult? Function(USubscribedRepoInfo value)? info,
  TResult? Function(USubscribedRepoUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;