getState method
Get State.
ID: edd4882a
.
Implementation
Future<Result<UpdatesStateBase>> getState() async {
// Preparing the request.
final request = UpdatesGetState();
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesStateBase>();
}