FB2Book constructor
FB2Book(
- String path
Implementation
FB2Book(this.path) {
RegExpMatch? match = RegExp(r"\.(\w+)$").firstMatch(path);
if (match?.group(1) != 'fb2') throw "Not FB2 file";
file = File(path);
}