add collection to document firestore flutter code example Example: firestor flutter dependencies: cloud_firestore: ^0.14.3+1