SourceService class
- Inheritance
-
- Object
- Initialisable
- SourceService
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialised → bool
-
Indicates whether the instance is initialized.
no setterinherited
- isReady → Future
-
A Future that completes when the instance is ready.
no setteroverride
- isReadyCompleter ↔ Completer
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addSource(
{required SourceDto source}) → Future< TurboResponse> -
assertInitialised(
) → void -
Asserts that the instance is initialized.
inherited
-
assertNotDisposed(
) → void -
Asserts that the instance is not disposed.
inherited
-
dispose(
) → Future< void> -
Disposes of the instance, resetting its state.
override
-
exists(
String id) → bool -
getSourceById(
String id) → SourceDto? -
initialise(
) → Future< void> -
Initializes the instance.
override
-
markAsReady(
) → void -
Completes the isReadyCompleter completer if it is not already complete.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onTagSource(
) → Future< int> -
throwIfDisposed(
) → void -
Throws a StateError if the instance is disposed.
inherited
-
throwIfNotInitialised(
) → void -
Throws a StateError if the instance is not initialized.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- locate → SourceService
-
no setter
Static Methods
-
registerLazySingleton(
) → void