FB2Section constructor

FB2Section(
  1. String section
)

Implementation

FB2Section(final String section) {
  content = section;
  title = RegExp(r"<title>([\s\S]+?)<\/title>")
      .firstMatch(content ?? '')
      ?.group(1);
}