Set the annotation author in Flutter
Each annotation created by your users will contain the annotation author name. By default, Nutrient will ask your users for this name the first time they create an annotation.

Set the annotation author name programmatically
Set the annotation author name programmatically using the Nutrient.setDefaultAuthorName
static method. This method sets the default author name for all annotations created in the document. Call this method after initializing Nutrient
:
Nutrient.initialize().then((_) { Nutrient.setDefaultAuthorName('John Doe');});
Update the author name at any time by calling the Nutrient.setDefaultAuthorName
method again.
Get the annotation author name
To retrieve the current annotation author name, use the Nutrient.getAuthorName()
static method:
String authorName = await Nutrient.getAuthorName();print('Author name: $authorName');
This is not yet supported on Flutter Web.