Description class

A human-readable description of a bean.

The text is stored in the bean definition for tools and diagnostics that list beans. It changes nothing at runtime.

@Component()
@Description('Sends transactional e-mails')
class Mailer { ... }

Spring (Java):

@Component
@Description("Sends transactional e-mails")
class Mailer { ... }

Constructors

Description(String value)
Describes the bean with value.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The description text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited