AppService class abstract
fanoos_project's Singleton blocks
Example:
class LogService extends AppService {
Future<void> run(services) async{
print('run from printService called');
}
void log(String s){
print(s);
}
}
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSupported → bool
-
This can control if the run function is called.
If your AppService doesn't support all environments,
this can be really useful.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
ServiceContainer services) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited