method ‘[]’ can’t be unconditionally invoked because the receiver can be ‘null’ with Firestore

If you are working with null safety in Dart and Flutter then I recommend checking this documentation out which explains various small fixes if you have problems working with null values and null safety. Usually you can just simply use the exclamation mark just before a property to check any other value if it also …

How to avoid the DEADLINE_EXCEEDED error in Firestore when writing many documents per second

If you stumbled upon the DEADLINE_EXCEEDED error when using Firebase Firestore then it is probably because you have been writing documents over the limit which is one document per second. This is from the Firebase website. Limit the collection write rate 1,000 operations/second Keep the rate of write operations for an individual collection under 1,000 …