updateUserAttributes method
Future<Map<UserAttributeKey, UpdateUserAttributeResult> >
updateUserAttributes({
- required List<
AuthUserAttribute> attributes, - UpdateUserAttributesOptions? options,
Updates multiple user attributes and returns a map of UpdateUserAttributeResult
Accepts plugin-specific, advanced options
for the request
Implementation
Future<Map<UserAttributeKey, UpdateUserAttributeResult>>
updateUserAttributes({
required List<AuthUserAttribute> attributes,
UpdateUserAttributesOptions? options,
}) {
var request = UpdateUserAttributesRequest(
attributes: attributes,
options: options,
);
return plugins.length == 1
? plugins[0].updateUserAttributes(request: request)
: throw _pluginNotAddedException('Auth');
}