finishJob method
Finish Job.
ID: 4f1ebf24.
Implementation
Future<Result<Boolean>> finishJob({
required String jobId,
String? error,
}) async {
// Preparing the request.
final request = SmsjobsFinishJob(jobId: jobId, error: error);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}