HealthApi class
Constructors
-
HealthApi(Dio _dio, Serializers _serializers)
-
const
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
-
healthClockGet({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<HealthClockGet200Response>>
-
Current backend time
This endpoint provides the current UNIX time. Your application might use this to verify if the client clock is not out of sync.
-
healthGet({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<HealthGet200Response>>
-
Backend health status
Return backend status as a boolean. Your application should handle situations when backend for the given chain is unavailable.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
rootGet({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Get200Response>>
-
Root endpoint
Root endpoint has no other function than to point end users to documentation.
-
toString()
→ String
-
A string representation of this object.
inherited