deserializeAttrText method
AttributedText
deserializeAttrText(
- Map<
String, dynamic> ? map, { - AttributionDeserializeBuilder? deserializeBuilder,
Deserialization AttributedText
Implementation
AttributedText deserializeAttrText(Map<String, dynamic>? map,
{AttributionDeserializeBuilder? deserializeBuilder}) {
if (map == null) {
return AttributedText(text: '');
}
return AttributedText(
text: map[keyText] ?? '',
spans: deserializeSpans(
map[keySpans] ?? [],
deserializeBuilder: deserializeBuilder,
),
);
}