parseBold static method
String
parseBold({
- required String text,
- required GeneralLibParseModeType generalLibParseModeType,
Implementation
static String parseBold({
required String text,
required GeneralLibParseModeType generalLibParseModeType,
}) {
switch (generalLibParseModeType) {
case GeneralLibParseModeType.html:
return parseHtmlBold(text);
case GeneralLibParseModeType.markdown:
return parseMarkdownBold(text);
default:
return text;
}
}