Created
April 3, 2020 06:57
-
-
Save threetwotwo/bb849136d7001398d3c20b03417afe3c to your computer and use it in GitHub Desktop.
Nutes repo example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static Future getRecentSearches() => shared._firestore.getRecentSearches(); | |
static Future deleteRecentSearch(String uid) => | |
shared._firestore.deleteRecentSearch(uid); | |
static Future createRecentSearch(User user) => | |
shared._firestore.createRecentSearch(user); | |
static Future<List<User>> searchUsers(String text) => | |
shared._firestore.searchUsers(text); | |
static Future<bool> usernameExists(String name) => | |
shared._firestore.usernameExists(name); | |
static Future<User> getUser(String uid) => shared._firestore.getUser(uid); | |
static Future<void> logout() => shared._firestore.logout(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment