skip to Main Content

Getting error Firebase exception in flutter code about initialisation

Getting Firebase exception in flutter code about initialisation. I have already initialised it in main function. getting error on first line of code where fire store collection initialised. import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:xuriti/models/core/user_details.dart'; class UserInfoService{ CollectionReference userInfoCollection = FirebaseFirestore.instance.collection('userInfo'); UserDetails userDetails…

VIEW QUESTION

How to navigate to a url in class Component – Javascript

import React, { useState, useContext, createContext } from "react"; import { Link, Redirect } from "react-router-dom"; export class Login extends React.Component { constructor(props) { super(props) window.data_login_callback = this.data_login_callback this.data_login_callback = this.data_login_callback.bind(this); } state = { brand: "" } rend(props){ console.log("ddd",props)…

VIEW QUESTION
Back To Top
Search