formatMessageAsSpans method
Format id and parse its inline markup into a span tree —
FluentBundle's formatMessageAsSpans, through the fallback
chain.
Implementation
List<FluentSpan> formatMessageAsSpans(
String id, {
String? attribute,
Map<String, Object?> args = const {},
List<FluentError>? errors,
}) => bundle.formatMessageAsSpans(
id,
attribute: attribute,
args: args,
errors: errors,
);