updateColor method
Update Color.
ID: 7cefa15d
.
Implementation
Future<Result<Boolean>> updateColor({
required bool forProfile,
int? color,
int? backgroundEmojiId,
}) async {
// Preparing the request.
final request = AccountUpdateColor(
forProfile: forProfile,
color: color,
backgroundEmojiId: backgroundEmojiId,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}