Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzanardo committed Oct 9, 2024
1 parent 1888091 commit 1d24522
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions fire_atlas_editor/lib/services/storage/unsupported.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,19 @@ class FireAtlasStorage extends FireAtlasStorageApi {
Future<String> getConfig(String key, String defaultValue) {
throw 'Unsupported';
}

@override
Future<String?> getProjectLastImageFile(String projectId) {
throw 'Unsupported';
}

@override
Future<String> readImageData(String path) {
throw 'Unsupported';
}

@override
Future<void> rememberProjectImageFile(String projectId, String imageFile) {
throw 'Unsupported';
}
}
6 changes: 6 additions & 0 deletions fire_atlas_editor/lib/services/storage/web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class FireAtlasStorage extends FireAtlasStorageApi {
final entry = LoadedProjectEntry(
path,
_readBase64Project(value),
null,
);

return entry;
Expand Down Expand Up @@ -143,4 +144,9 @@ class FireAtlasStorage extends FireAtlasStorageApi {
) async {
// Noop on web
}

@override
Future<String?> getProjectLastImageFile(String projectId) {
throw 'Unsupported';
}
}

0 comments on commit 1d24522

Please sign in to comment.