updateDeviceLocked method

Future<Result<Boolean>> updateDeviceLocked({
  1. required int period,
})

Update Device Locked.

ID: 38df3532.

Implementation

Future<Result<Boolean>> updateDeviceLocked({required int period}) async {
  // Preparing the request.
  final request = AccountUpdateDeviceLocked(period: period);

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<Boolean>();
}