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' can't be assigned to a variable of type 'EpubBook'. with async task. how to fixed it ?
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' can't be assigned to a variable of type 'EpubBook'. with async task. how to fixed it ?