AtServiceFactory class abstract

Abstraction over the construction of the core services managed by AtClientManager.

The default production implementation is DefaultAtServiceFactory. Override this in tests to inject fakes or mocks without subclassing AtClientManager.

Implementers

Constructors

AtServiceFactory()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

enrollmentService(AtClient atClient) → EnrollmentService
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notificationService(AtClient atClient, {SecondaryAddressFinder? secondaryAddressFinder}) → Future<NotificationService>
The notification service for atClient.
syncService(AtClient atClient) → Future<SyncService>
The sync service for atClient, which takes its notification service from atClient once built.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited