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