IsolatorConfig class

Configuration class for Isolator (all Backends and it's Frontends)

Properties

backendErrorsObservers List<BackendErrorObserver>
Observers, which will running on every error, which was in backend layer Can be any function
getter/setter pair
backendInitTimeout Duration
Timeout for init method of every backend
getter/setter pair
frontendObservers List<FrontendObserver>
Observers, which will running before handling messages from backend, in frontend part Can be any function
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logErrors bool
Enable logging errors on Frontend
getter/setter pair
logEvents bool
Enable Frontend and Backend logging
getter/setter pair
logLongOperations bool
Enable logging of time, which requires to transfer _Message from backend to frontend if it take much time
getter/setter pair
logTimeOfDataTransfer bool
Enable logging of time, which requires to transfer _Message from frontend to backend and vice versa
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showValuesInLogs bool
Print or not values in logs
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setParamsFromJson(Map<String, dynamic> json) → void
toJson() Map<String, dynamic>
Copy config for use in isolates
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

setBackendErrorsObservers(List<BackendErrorObserver> observers) → void
setFrontendObservers(List<FrontendObserver> observers) → void
setInitTimeoutDuration(Duration duration) → void
setLogging(bool log) → void
setLoggingErrors(bool log) → void
setLongOperationsLogging(bool log) → void
setTransferTimeLogging(bool log) → void
setValuesShowing(bool show) → void