light
light copied to clipboard
The method 'readBookSync' isn't defined for the class 'EpubReader'.
EpubBook epubBook = EpubReader.readBookSync(bytes); in code error to below red underline of readBookSync() method. and changed method name readBook() so it can be A value of type 'Future<EpubBook>' can't be assigned to a variable of type 'EpubBook'. with async task. how to fixed it ?
same error