updateProfile method
Update Profile.
ID: 78515775
.
Implementation
Future<Result<UserBase>> updateProfile({
String? firstName,
String? lastName,
String? about,
}) async {
// Preparing the request.
final request = AccountUpdateProfile(
firstName: firstName,
lastName: lastName,
about: about,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UserBase>();
}