addAccountIntent method

SubscriptionIntent addAccountIntent(
  1. AccountChannel channel
)

Implementation

SubscriptionIntent addAccountIntent(AccountChannel channel) {
  final intent = _intentRegistry.addAccountIntent(channel);
  _record(
    SubscriptionIntentTelemetryEvent(
      kind: TelemetryEventKind.subscriptionIntentAdded,
      at: _clock.now(),
    ),
  );
  _maybeSubscribeNow();
  return intent;
}