ChannelFormatter class

Formats channel models into the canonical Walki markdown representation.

Constructors

ChannelFormatter()
Creates a ChannelFormatter.
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

Methods

format(Channel channel) String
Formats a complete Channel as markdown.
formatAppendMessage(ChannelMessage message) String
Formats a single message append block.
formatDecision(ChannelDecision decision) String
Formats a decision block ready to append to a channel file.
formatStatus(Channel channel) String
Produces a compact human-readable status summary.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateStatus(String content, ChannelStatus newStatus) String
Updates only the metadata status line in raw channel markdown.

Operators

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