listItemUnordered method
Parser
listItemUnordered(
)
override
Implementation
@override
Parser listItemUnordered() => super.listItemUnordered().map((values) {
final indent = values[0] as String;
final rest = values[1] as List;
final bullet = rest[0] as String;
final checkBox = rest[1] as String?;
final tag = rest[2] as List?;
final body = rest[3] as OrgContent?;
return OrgListUnorderedItem(
indent,
bullet,
checkBox,
tag == null
? null
: (
value: OrgContent((tag[0] as List).cast()),
delimiter: tag[1] as String,
),
body,
);
});