toggleTopPeers method
Toggle Top Peers.
ID: 8514bdda
.
Implementation
Future<Result<Boolean>> toggleTopPeers({
required bool enabled,
}) async {
// Preparing the request.
final request = ContactsToggleTopPeers(
enabled: enabled,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}