toJson method

Map<String, dynamic> toJson()

Document as JSON map.

Implementation

Map<String, dynamic> toJson() => _$DocumentToJson(this);