toggleUsername method
Toggle Username.
ID: 58d6b376.
Implementation
Future<Result<Boolean>> toggleUsername({
required String username,
required bool active,
}) async {
// Preparing the request.
final request = AccountToggleUsername(username: username, active: active);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}