updateUserById method
Updates the user data.
Implementation
Future<UserResponse> updateUserById(
String uid, {
required AdminUserAttributes attributes,
}) async {
final body = attributes.toJson();
final options = GotrueRequestOptions(headers: _headers, body: body);
final response = await _fetch.request(
'$_url/admin/users/$uid',
RequestMethodType.put,
options: options,
);
return UserResponse.fromJson(response);
}