data method
The fields of the document, or the converted T with a converter. Unlike
DocumentSnapshot.data() it is never null for a snapshot without a converter: the document exists.
Implementation
@override
T data({
ServerTimestampBehavior serverTimestamps = ServerTimestampBehavior.none,
}) {
// The document always exists here; a null can only be what a converter of a nullable [T] returned.
return super.data(serverTimestamps: serverTimestamps) as T;
}