Questions
Q:

Undefined name ‘Firestore’ – flutter

I’m trying to store my data in firestore database. In my code this line show Undefined name ‘Firestore’ error,

final db = Firestore.instance;

why is that?