MessageCatalog class

A command's messages, by code.

Constructors

MessageCatalog(List<MessageDefinition> definitions)

Properties

definitions → List<MessageDefinition>
final
hashCode → int
The hash code for this object.
no setterinherited
helpTopics → List<HelpTopic>
One help topic per message, for ToolDefinition.helpTopics.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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
operator [](String code) → MessageDefinition
The definition of code; throws for an unknown code.