title: The method 'data' isn't defined for the type 'Object'. Try correcting the name to the name of an existing method, or defining a method named 'data'
body: <p>I have issues to display data from Firebase. Here is the code I used in my FutureBuilder. Looks like there is an error regarding data(), but I don't know which one, does anyone have any idea?</p>
  <p>This is what I get : &quot;The method 'data' isn't defined for the type 'Object'.
  Try correcting the name to the name of an existing method, or defining a method named 'data'.&quot;</p>
  <pre><code>if(snapshot.connectionState == ConnectionState.done) {
    Map&lt;String, dynamic&gt; documentData = snapshot.data!.data() as Map&lt;String, dynamic&gt;;
       return ListView(
         children: [
  
           CustomSubtitle(
             text: &quot;${documentData['01 - Brand']}&quot;
           ),
  
           CustomTitle(
             text: &quot;${documentData['02 - Name']}&quot;,
           ),
  
           CustomText(
            text: &quot;${documentData['04 - Description']}&quot;,
           )
  
         ],
       );
     }
  </code></pre>