updateUser method
Implementation
Future<UserWithDetails> updateUser({
required String userId,
String? name,
}) async {
return await invokeMethod<UserWithDetails>(
(j) => UserWithDetails.fromJson(j),
'autogen_updateUser',
{
'env': this.env.index,
'accessToken': this.accessToken,
'user_id': userId,
'name': name,
},
);
}