match<T> method
Execute line
if this is a LineState and embed
if this is an
EmbedState.
Implementation
@override
T match<T>({
required T Function(LineState) line,
required T Function(EmbedState) embed,
}) =>
embed(this);
Execute line
if this is a LineState and embed
if this is an
EmbedState.
@override
T match<T>({
required T Function(LineState) line,
required T Function(EmbedState) embed,
}) =>
embed(this);