getContent method

String getContent()
inherited

get content of SpecialText(not include startFlag and endFlag) https://github.com/fluttercandies/extended_text/issues/76

Implementation

String getContent() {
  String content = _content.toString();
  if (content.endsWith(endFlag)) {
    content = content.substring(
      0,
      content.length - endFlag.length,
    );
  }
  return content;
}