userMetadata property

Map<String, dynamic>? userMetadata
final

A custom data object to store the user's metadata. This maps to the auth.users.user_metadata column.

Only a service role can modify.

The user_metadata should be a JSON object that includes user-specific info, such as their first and last name.

Note: When using the GoTrueAdminApi and wanting to modify a user's metadata, this attribute is used instead of UserAttributes data.

Implementation

final Map<String, dynamic>? userMetadata;