EventType extension type

on
Implemented types
Available extensions

Constructors

EventType(String _)
const
EventType.fromJson(Object? json)

Properties

codeUnits List<int>
An unmodifiable list of the UTF-16 code units of this string.
no setterinherited
hashCode int
A hash code derived from the code units of the string.
no setterinherited
isEmpty bool
Whether this string is empty.
no setterinherited
isNotEmpty bool
Whether this string is not empty.
no setterinherited
length int
The length of the string.
no setterinherited
runes Runes
An Iterable of Unicode code-points of this string.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS JSString

Available on String, provided by the StringToJSString extension

Converts this String to a JSString.
no setter

Methods

allMatches(String string, [int start = 0]) Iterable<Match>
Matches this pattern against the string repeatedly.
inherited
codeUnitAt(int index) int
Returns the 16-bit UTF-16 code unit at the given index.
inherited
compareTo(String other) int
Compares this string to other.
inherited
contains(Pattern other, [int startIndex = 0]) bool
Whether this string contains a match of other.
inherited
encodeWith<V>(Encoder<V> encoder) → V
endsWith(String other) bool
Whether this string ends with other.
inherited
indexOf(Pattern pattern, [int start = 0]) int
Returns the position of the first match of pattern in this string, starting at start, inclusive:
inherited
lastIndexOf(Pattern pattern, [int? start]) int
The starting position of the last match pattern in this string.
inherited
matchAsPrefix(String string, [int start = 0]) Match?
Matches this pattern against the start of string.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
padLeft(int width, [String padding = ' ']) String
Pads this string on the left if it is shorter than width.
inherited
padRight(int width, [String padding = ' ']) String
Pads this string on the right if it is shorter than width.
inherited
replaceAll(Pattern from, String replace) String
Replaces all substrings that match from with replace.
inherited
replaceAllMapped(Pattern from, String replace(Match match)) String
Replace all substrings that match from by a computed string.
inherited
replaceFirst(Pattern from, String to, [int startIndex = 0]) String
Creates a new string with the first occurrence of from replaced by to.
inherited
replaceFirstMapped(Pattern from, String replace(Match match), [int startIndex = 0]) String
Replace the first occurrence of from in this string.
inherited
replaceRange(int start, int? end, String replacement) String
Replaces the substring from start to end with replacement.
inherited
split(Pattern pattern) List<String>
Splits the string at matches of pattern and returns a list of substrings.
inherited
splitMapJoin(Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) String
Splits the string, converts its parts, and combines them into a new string.
inherited
startsWith(Pattern pattern, [int index = 0]) bool
Whether this string starts with a match of pattern.
inherited
substring(int start, [int? end]) String
The substring of this string from start, inclusive, to end, exclusive.
inherited
toJson() String
toLowerCase() String
Converts all characters in this string to lower case.
inherited
toString() String
A string representation of this object.
inherited
toUpperCase() String
Converts all characters in this string to upper case.
inherited
trim() String
The string without any leading and trailing whitespace.
inherited
trimLeft() String
The string without any leading whitespace.
inherited
trimRight() String
The string without any trailing whitespace.
inherited

Operators

operator *(int times) String
Creates a new string by concatenating this string with itself a number of times.
inherited
operator +(String other) String
Creates a new string by concatenating this string with other.
inherited
operator ==(Object other) bool
Whether other is a String with the same sequence of code units.
inherited
operator [](int index) String
The character (as a single-code-unit String) at the given index.
inherited

Static Methods

encode<V>(EventType instance, Encoder<V> encoder) → V

Constants

accountApplicationAuthorized → const EventType
account.application.authorized
accountApplicationDeauthorized → const EventType
account.application.deauthorized
accountExternalAccountCreated → const EventType
account.external_account.created
accountExternalAccountDeleted → const EventType
account.external_account.deleted
accountExternalAccountUpdated → const EventType
account.external_account.updated
accountUpdated → const EventType
account.updated
applicationFeeCreated → const EventType
application_fee.created
applicationFeeRefunded → const EventType
application_fee.refunded
applicationFeeRefundUpdated → const EventType
application_fee.refund.updated
balanceAvailable → const EventType
balance.available
billingPortalConfigurationCreated → const EventType
billing_portal.configuration.created
billingPortalConfigurationUpdated → const EventType
billing_portal.configuration.updated
billingPortalSessionCreated → const EventType
billing_portal.session.created
capabilityUpdated → const EventType
capability.updated
cashBalanceFundsAvailable → const EventType
cash_balance.funds_available
chargeCaptured → const EventType
charge.captured
chargeDisputeClosed → const EventType
charge.dispute.closed
chargeDisputeCreated → const EventType
charge.dispute.created
chargeDisputeFundsReinstated → const EventType
charge.dispute.funds_reinstated
chargeDisputeFundsWithdrawn → const EventType
charge.dispute.funds_withdrawn
chargeDisputeUpdated → const EventType
charge.dispute.updated
chargeExpired → const EventType
charge.expired
chargeFailed → const EventType
charge.failed
chargePending → const EventType
charge.pending
chargeRefunded → const EventType
charge.refunded
chargeRefundUpdated → const EventType
charge.refund.updated
chargeSucceeded → const EventType
charge.succeeded
chargeUpdated → const EventType
charge.updated
checkoutSessionAsyncPaymentFailed → const EventType
checkout.session.async_payment_failed
checkoutSessionAsyncPaymentSucceeded → const EventType
checkout.session.async_payment_succeeded
checkoutSessionCompleted → const EventType
checkout.session.completed
checkoutSessionExpired → const EventType
checkout.session.expired
climateOrderCanceled → const EventType
climate.order.canceled
climateOrderCreated → const EventType
climate.order.created
climateOrderDelayed → const EventType
climate.order.delayed
climateOrderDelivered → const EventType
climate.order.delivered
climateOrderProductSubstituted → const EventType
climate.order.product_substituted
climateProductCreated → const EventType
climate.product.created
climateProductPricingUpdated → const EventType
climate.product.pricing_updated
couponCreated → const EventType
coupon.created
couponDeleted → const EventType
coupon.deleted
couponUpdated → const EventType
coupon.updated
creditNoteCreated → const EventType
credit_note.created
creditNoteUpdated → const EventType
credit_note.updated
creditNoteVoided → const EventType
credit_note.voided
customerCashBalanceTransactionCreated → const EventType
customer_cash_balance_transaction.created
customerCreated → const EventType
customer.created
customerDeleted → const EventType
customer.deleted
customerDiscountCreated → const EventType
customer.discount.created
customerDiscountDeleted → const EventType
customer.discount.deleted
customerDiscountUpdated → const EventType
customer.discount.updated
customerSourceCreated → const EventType
customer.source.created
customerSourceDeleted → const EventType
customer.source.deleted
customerSourceExpiring → const EventType
customer.source.expiring
customerSourceUpdated → const EventType
customer.source.updated
customerSubscriptionCreated → const EventType
customer.subscription.created
customerSubscriptionDeleted → const EventType
customer.subscription.deleted
customerSubscriptionPaused → const EventType
customer.subscription.paused
customerSubscriptionPendingUpdateApplied → const EventType
customer.subscription.pending_update_applied
customerSubscriptionPendingUpdateExpired → const EventType
customer.subscription.pending_update_expired
customerSubscriptionResumed → const EventType
customer.subscription.resumed
customerSubscriptionTrialWillEnd → const EventType
customer.subscription.trial_will_end
customerSubscriptionUpdated → const EventType
customer.subscription.updated
customerTaxIdCreated → const EventType
customer.tax_id.created
customerTaxIdDeleted → const EventType
customer.tax_id.deleted
customerTaxIdUpdated → const EventType
customer.tax_id.updated
customerUpdated → const EventType
customer.updated
fileCreated → const EventType
file.created
financialConnectionsAccountCreated → const EventType
financial_connections.account.created
financialConnectionsAccountDeactivated → const EventType
financial_connections.account.deactivated
financialConnectionsAccountDisconnected → const EventType
financial_connections.account.disconnected
financialConnectionsAccountReactivated → const EventType
financial_connections.account.reactivated
financialConnectionsAccountRefreshedBalance → const EventType
financial_connections.account.refreshed_balance
financialConnectionsAccountRefreshedOwnership → const EventType
financial_connections.account.refreshed_ownership
financialConnectionsAccountRefreshedTransactions → const EventType
financial_connections.account.refreshed_transactions
identityVerificationSessionCanceled → const EventType
identity.verification_session.canceled
identityVerificationSessionCreated → const EventType
identity.verification_session.created
identityVerificationSessionProcessing → const EventType
identity.verification_session.processing
identityVerificationSessionRedacted → const EventType
identity.verification_session.redacted
identityVerificationSessionRequiresInput → const EventType
identity.verification_session.requires_input
identityVerificationSessionVerified → const EventType
identity.verification_session.verified
invoiceCreated → const EventType
invoice.created
invoiceDeleted → const EventType
invoice.deleted
invoiceFinalizationFailed → const EventType
invoice.finalization_failed
invoiceFinalized → const EventType
invoice.finalized
invoiceitemCreated → const EventType
invoiceitem.created
invoiceitemDeleted → const EventType
invoiceitem.deleted
invoiceMarkedUncollectible → const EventType
invoice.marked_uncollectible
invoicePaid → const EventType
invoice.paid
invoicePaymentActionRequired → const EventType
invoice.payment_action_required
invoicePaymentFailed → const EventType
invoice.payment_failed
invoicePaymentSucceeded → const EventType
invoice.payment_succeeded
invoiceSent → const EventType
invoice.sent
invoiceUpcoming → const EventType
invoice.upcoming
invoiceUpdated → const EventType
invoice.updated
invoiceVoided → const EventType
invoice.voided
issuingAuthorizationCreated → const EventType
issuing_authorization.created
issuingAuthorizationRequest → const EventType
issuing_authorization.request
issuingAuthorizationUpdated → const EventType
issuing_authorization.updated
issuingCardCreated → const EventType
issuing_card.created
issuingCardholderCreated → const EventType
issuing_cardholder.created
issuingCardholderUpdated → const EventType
issuing_cardholder.updated
issuingCardUpdated → const EventType
issuing_card.updated
issuingDisputeClosed → const EventType
issuing_dispute.closed
issuingDisputeCreated → const EventType
issuing_dispute.created
issuingDisputeFundsReinstated → const EventType
issuing_dispute.funds_reinstated
issuingDisputeSubmitted → const EventType
issuing_dispute.submitted
issuingDisputeUpdated → const EventType
issuing_dispute.updated
issuingTokenCreated → const EventType
issuing_token.created
issuingTokenUpdated → const EventType
issuing_token.updated
issuingTransactionCreated → const EventType
issuing_transaction.created
issuingTransactionUpdated → const EventType
issuing_transaction.updated
mandateUpdated → const EventType
mandate.updated
paymentIntentAmountCapturableUpdated → const EventType
payment_intent.amount_capturable_updated
paymentIntentCanceled → const EventType
payment_intent.canceled
paymentIntentCreated → const EventType
payment_intent.created
paymentIntentPartiallyFunded → const EventType
payment_intent.partially_funded
paymentIntentPaymentFailed → const EventType
payment_intent.payment_failed
paymentIntentProcessing → const EventType
payment_intent.processing
paymentIntentRequiresAction → const EventType
payment_intent.requires_action
paymentIntentSucceeded → const EventType
payment_intent.succeeded
paymentLinkCreated → const EventType
payment_link.created
paymentLinkUpdated → const EventType
payment_link.updated
paymentMethodAttached → const EventType
payment_method.attached
paymentMethodAutomaticallyUpdated → const EventType
payment_method.automatically_updated
paymentMethodDetached → const EventType
payment_method.detached
paymentMethodUpdated → const EventType
payment_method.updated
payoutCanceled → const EventType
payout.canceled
payoutCreated → const EventType
payout.created
payoutFailed → const EventType
payout.failed
payoutPaid → const EventType
payout.paid
payoutReconciliationCompleted → const EventType
payout.reconciliation_completed
payoutUpdated → const EventType
payout.updated
personCreated → const EventType
person.created
personDeleted → const EventType
person.deleted
personUpdated → const EventType
person.updated
planCreated → const EventType
plan.created
planDeleted → const EventType
plan.deleted
planUpdated → const EventType
plan.updated
priceCreated → const EventType
price.created
priceDeleted → const EventType
price.deleted
priceUpdated → const EventType
price.updated
productCreated → const EventType
product.created
productDeleted → const EventType
product.deleted
productUpdated → const EventType
product.updated
promotionCodeCreated → const EventType
promotion_code.created
promotionCodeUpdated → const EventType
promotion_code.updated
quoteAccepted → const EventType
quote.accepted
quoteCanceled → const EventType
quote.canceled
quoteCreated → const EventType
quote.created
quoteFinalized → const EventType
quote.finalized
radarEarlyFraudWarningCreated → const EventType
radar.early_fraud_warning.created
radarEarlyFraudWarningUpdated → const EventType
radar.early_fraud_warning.updated
refundCreated → const EventType
refund.created
refundUpdated → const EventType
refund.updated
reportingReportRunFailed → const EventType
reporting.report_run.failed
reportingReportRunSucceeded → const EventType
reporting.report_run.succeeded
reportingReportTypeUpdated → const EventType
reporting.report_type.updated
reviewClosed → const EventType
review.closed
reviewOpened → const EventType
review.opened
setupIntentCanceled → const EventType
setup_intent.canceled
setupIntentCreated → const EventType
setup_intent.created
setupIntentRequiresAction → const EventType
setup_intent.requires_action
setupIntentSetupFailed → const EventType
setup_intent.setup_failed
setupIntentSucceeded → const EventType
setup_intent.succeeded
sigmaScheduledQueryRunCreated → const EventType
sigma.scheduled_query_run.created
sourceCanceled → const EventType
source.canceled
sourceChargeable → const EventType
source.chargeable
sourceFailed → const EventType
source.failed
sourceMandateNotification → const EventType
source.mandate_notification
sourceRefundAttributesRequired → const EventType
source.refund_attributes_required
sourceTransactionCreated → const EventType
source.transaction.created
sourceTransactionUpdated → const EventType
source.transaction.updated
subscriptionScheduleAborted → const EventType
subscription_schedule.aborted
subscriptionScheduleCanceled → const EventType
subscription_schedule.canceled
subscriptionScheduleCompleted → const EventType
subscription_schedule.completed
subscriptionScheduleCreated → const EventType
subscription_schedule.created
subscriptionScheduleExpiring → const EventType
subscription_schedule.expiring
subscriptionScheduleReleased → const EventType
subscription_schedule.released
subscriptionScheduleUpdated → const EventType
subscription_schedule.updated
taxRateCreated → const EventType
tax_rate.created
taxRateUpdated → const EventType
tax_rate.updated
taxSettingsUpdated → const EventType
tax.settings.updated
terminalReaderActionFailed → const EventType
terminal.reader.action_failed
terminalReaderActionSucceeded → const EventType
terminal.reader.action_succeeded
testHelpersTestClockAdvancing → const EventType
test_helpers.test_clock.advancing
testHelpersTestClockCreated → const EventType
test_helpers.test_clock.created
testHelpersTestClockDeleted → const EventType
test_helpers.test_clock.deleted
testHelpersTestClockInternalFailure → const EventType
test_helpers.test_clock.internal_failure
testHelpersTestClockReady → const EventType
test_helpers.test_clock.ready
topupCanceled → const EventType
topup.canceled
topupCreated → const EventType
topup.created
topupFailed → const EventType
topup.failed
topupReversed → const EventType
topup.reversed
topupSucceeded → const EventType
topup.succeeded
transferCreated → const EventType
transfer.created
transferReversed → const EventType
transfer.reversed
transferUpdated → const EventType
transfer.updated
treasuryCreditReversalCreated → const EventType
treasury.credit_reversal.created
treasuryCreditReversalPosted → const EventType
treasury.credit_reversal.posted
treasuryDebitReversalCompleted → const EventType
treasury.debit_reversal.completed
treasuryDebitReversalCreated → const EventType
treasury.debit_reversal.created
treasuryDebitReversalInitialCreditGranted → const EventType
treasury.debit_reversal.initial_credit_granted
treasuryFinancialAccountClosed → const EventType
treasury.financial_account.closed
treasuryFinancialAccountCreated → const EventType
treasury.financial_account.created
treasuryFinancialAccountFeaturesStatusUpdated → const EventType
treasury.financial_account.features_status_updated
treasuryInboundTransferCanceled → const EventType
treasury.inbound_transfer.canceled
treasuryInboundTransferCreated → const EventType
treasury.inbound_transfer.created
treasuryInboundTransferFailed → const EventType
treasury.inbound_transfer.failed
treasuryInboundTransferSucceeded → const EventType
treasury.inbound_transfer.succeeded
treasuryOutboundPaymentCanceled → const EventType
treasury.outbound_payment.canceled
treasuryOutboundPaymentCreated → const EventType
treasury.outbound_payment.created
treasuryOutboundPaymentExpectedArrivalDateUpdated → const EventType
treasury.outbound_payment.expected_arrival_date_updated
treasuryOutboundPaymentFailed → const EventType
treasury.outbound_payment.failed
treasuryOutboundPaymentPosted → const EventType
treasury.outbound_payment.posted
treasuryOutboundPaymentReturned → const EventType
treasury.outbound_payment.returned
treasuryOutboundTransferCanceled → const EventType
treasury.outbound_transfer.canceled
treasuryOutboundTransferCreated → const EventType
treasury.outbound_transfer.created
treasuryOutboundTransferExpectedArrivalDateUpdated → const EventType
treasury.outbound_transfer.expected_arrival_date_updated
treasuryOutboundTransferFailed → const EventType
treasury.outbound_transfer.failed
treasuryOutboundTransferPosted → const EventType
treasury.outbound_transfer.posted
treasuryOutboundTransferReturned → const EventType
treasury.outbound_transfer.returned
treasuryReceivedCreditCreated → const EventType
treasury.received_credit.created
treasuryReceivedCreditFailed → const EventType
treasury.received_credit.failed
treasuryReceivedCreditSucceeded → const EventType
treasury.received_credit.succeeded
treasuryReceivedDebitCreated → const EventType
treasury.received_debit.created