getTermsOfServiceUpdate method

Future<Result<HelpTermsOfServiceUpdateBase>> getTermsOfServiceUpdate()

Get Terms Of Service Update.

ID: 2ca51fd1.

Implementation

Future<Result<HelpTermsOfServiceUpdateBase>> getTermsOfServiceUpdate() async {
  // Preparing the request.
  final request = HelpGetTermsOfServiceUpdate();

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

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