cloud_firestore flutter plugin current version code example
Example 1: cloud firestore docs for flutter
import 'package:cloud_firestore/cloud_firestore.dart';
Example 2: cloud firestore docs for flutter
final databaseReference = Firestore.instance;