SHARE
TWEET

Untitled

a guest Jun 16th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var connParams = FirebaseConnectionParams()
  2.     ..apiKey = LOGMATE_FIREBASE_API_KEY
  3.     ..authDomain = LOGMATE_FIREBASE_AUTH_DOMAIN
  4.     ..databaseUrl = LOGMATE_FIREBASE_URL
  5.     ..projectId = LOGMATE_FIREBASE_PROJECT_ID
  6.     ..storageBucket = LOGMATE_FIREBASE_STORAGE_BUCKET;
  7.  
  8.   // connect ot firebase
  9.   var logmateFirebase = LogmateFirebase(connParams, LogmateFirebasePlatform.browser);
  10.  
  11.  
  12.   var personData = await logmateFirebase.person().findByAuthId("jdhje783jds93,es");
  13.  
  14.  
  15.  
  16.   var authUserStream = logmateFirebase.person(id: personData[0].$id).stream().listen((data) {
  17.     print(data.familyName);
  18.   });
  19.  
  20.   var authPerson = logmateFirebase.person(id: personData[0].$id);
  21.  
  22.  
  23.   var accountList = await authPerson.accountsAdmin().list();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top