map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult timeout(
    1. _TransactionTimeout value
    ),
  2. required TResult connectivity(
    1. _TransactionConnectionError value
    ),
  3. required TResult consensusNotReached(
    1. _TransactionConsensusNotReachedError value
    ),
  4. required TResult invalidTransaction(
    1. _TransactionInvalid value
    ),
  5. required TResult invalidConfirmation(
    1. _TransactionInvalidConfirmation value
    ),
  6. required TResult insufficientFunds(
    1. _TransactionInsufficientFunds value
    ),
  7. required TResult serviceNotFound(
    1. _TransactionServiceNotFound value
    ),
  8. required TResult serviceAlreadyExists(
    1. _TransactionServiceAlreadyExists value
    ),
  9. required TResult userRejected(
    1. _TransactionUserRejected value
    ),
  10. required TResult unknownAccount(
    1. _TransactionUnknownAccount value
    ),
  11. required TResult rpcError(
    1. _TransactionRPCError value
    ),
  12. required TResult other(
    1. _TransactionOtherError value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(_TransactionTimeout value) timeout,
  required TResult Function(_TransactionConnectionError value) connectivity,
  required TResult Function(_TransactionConsensusNotReachedError value)
      consensusNotReached,
  required TResult Function(_TransactionInvalid value) invalidTransaction,
  required TResult Function(_TransactionInvalidConfirmation value)
      invalidConfirmation,
  required TResult Function(_TransactionInsufficientFunds value)
      insufficientFunds,
  required TResult Function(_TransactionServiceNotFound value)
      serviceNotFound,
  required TResult Function(_TransactionServiceAlreadyExists value)
      serviceAlreadyExists,
  required TResult Function(_TransactionUserRejected value) userRejected,
  required TResult Function(_TransactionUnknownAccount value) unknownAccount,
  required TResult Function(_TransactionRPCError value) rpcError,
  required TResult Function(_TransactionOtherError value) other,
}) =>
    throw _privateConstructorUsedError;