setContentSettings method
Set Content Settings.
ID: b574b16b
.
Implementation
Future<Result<Boolean>> setContentSettings({
required bool sensitiveEnabled,
}) async {
// Preparing the request.
final request = AccountSetContentSettings(
sensitiveEnabled: sensitiveEnabled,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}