Text
) on which you want to set the record data.stream
is used to listen to any changes in the document, getDocument()
method is used on the record to retrieve data.builder
is used to return a widget, snapshot.hasData
can be used to verify whether the retrieving process is complete, and snapshot.data
is used to retrieve the document information.