updateMetadata method
Updates the metadata associated with the authenticated user.
Parameters:
metaData: The new metadata to update for the user.
Returns:
A Future<CurrentUser>? containing the updated information of the user.
Throws:
PassageError if an error occurs during the update process.
Implementation
Future<CurrentUser>? updateMetadata(Metadata metaData) {
return PassageFlutterPlatform.instance.updateMetaData(metaData);
}