title property

String get title

Gets the title of the EPUB document.

Implementation

String get title {
  final titleElement =
      document.findAllElements('docTitle').first.findElements('text').first;
  return titleElement.value ?? '';
}