Skip to content

Instantly share code, notes, and snippets.

@JEuler
Last active December 24, 2019 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JEuler/1743b4362cda89c856072641d661f4fd to your computer and use it in GitHub Desktop.
Save JEuler/1743b4362cda89c856072641d661f4fd to your computer and use it in GitHub Desktop.
abstract class StorageService {
/// Save user to D
void saveUser(User user);
/// Get user from DB
Future<DBUser> getUser();
/// Stop all operations
void stop();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment