data method

Map<String, dynamic> data()

Retrieves all fields in the document as a Map.

Returns non-null Map containing all fields in the specified document.

Implementation

Map<String, dynamic> data() => dartify(jsObject.data());