systemCheck method
Future<SystemCheckReport>
systemCheck({
- SystemCheckOptions options = const SystemCheckOptions(),
- Duration? timeout,
Performs storage consistency checks.
Implementation
Future<SystemCheckReport> systemCheck({
SystemCheckOptions options = const SystemCheckOptions(),
Duration? timeout,
}) async {
final response = await _send(
method: HttpMethod.post,
path: '/system/check',
queryParameters: options.toQueryParameters(),
expectedStatusCodes: const <int>{200},
timeout: timeout,
);
return SystemCheckReport.fromJson(
_decodeObject(response.bodyText, '/system/check'),
);
}