ServiceHost class abstract

Base class for ServiceHosts.

See: ApplicationHost TestHost

Inheritance
Implementers

Constructors

ServiceHost(List<BaseService Function()> factories, {bool failWithServices = true, LogBackend? logBackend, List<String> args = const <String>[], Map<String, dynamic> config = const <String, dynamic>{}})

Properties

failWithServices bool
final
hashCode int
The hash code for this object.
no setterinherited
isInShutdown bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

initialize() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveService<TService extends BaseService?>() → TService
override
runAsService<T>(T delegate()) → T
shutdown() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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