constructor
DART · DARTDOC
Dart · Dartdoc
Real dart doc output from the checked-in dart fixture source. Generated artifacts, commands, versions, and SHA-256 hashes are recorded under sources/native. This is a teaching library, not a published SDK.
Constructors
Methods
method
greet
Greet the reader called name .
Parameters
nameStringReturns
Stringmethod
greetChecked
Reject an empty name . Throws ArgumentError when name is empty.
Parameters
nameStringReturns
Stringmethod
greetMany
Greet several readers while preserving input order.
Parameters
namesList<String>separatorStringoptionalReturns
StringProperties
property
prefix
Greeting prefix used for future calls.
Returns
StringClasses
class
Greeter
Build personalized greetings without network access.
Enums
enum
Mood
Supported greeting moods.
Values
friendlyformal