title: Error: the operation '[]' is not defined for the type 'object'
body: <p>I am using Null -Safety then I keep getting this error, anywhere I user snapshot in my code</p>
  <p>here is the error</p>
  <p><a href="https://i.stack.imgur.com/PWWe9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PWWe9.png" alt="error" /></a></p>
  <p>here is my code</p>
  <pre><code>StreamBuilder(
                            stream: firestore
                                .collection('interest')
                                .doc('${auth.currentUser?.uid}')
                                .snapshots(),
                            builder: (context, snapshot) {
                              if (!snapshot.hasData) {
                                return Center(
                                  child: CircularProgressIndicator(),
                                );
                              }
                              return ListView.builder(
                                  scrollDirection: Axis.horizontal,
                                  itemCount: snapshot.data!['Interest'].length ,
                                  itemBuilder: (context, index) {
                                    return Padding(
                                      padding: const EdgeInsets.only(top: 12.0),
                                      child: bottomCardList(
                                        'assets/1 (6).jpeg',
                                        snapshot.data!['Interest'][index]
                                            .toString(),
                                      ),
                                    );
                                  });
                            }),
  </code></pre>
  <p>Thanks</p>