Skip to content

Commit

Permalink
fix: exception on built-in types on disk
Browse files Browse the repository at this point in the history
  • Loading branch information
ali77gh committed Mar 26, 2023
1 parent b90cdd0 commit b29f615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/telescope.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Telescope<T> {
" use saveOnDiskForNonBuiltInType and provide OnDiskSaveAbility";
}

SaveAndLoad.load<T>(onDiskId!, onDiskSaveAbility!).then((loaded){
SaveAndLoad.load<T>(onDiskId!, onDiskSaveAbility).then((loaded){
if(loaded!=null){
holden = loaded;
notifyAll();
Expand Down

0 comments on commit b29f615

Please sign in to comment.