TextChannel class
The visible text, which diffs exactly and costs nothing.
The cheapest channel and the most legible one in a terminal: a label that changed shows up here as two lines, where the pixel channel can only say what fraction of the screen moved.
Constructors
-
TextChannel({required List<
String> added, required List<String> removed}) -
const
-
TextChannel.of({required List<
String> base, required List<String> head}) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, Object?> json) → TextChannel