toJson method

Map<String, dynamic> toJson()

Serialize back to the wire shape. Round-trips raw verbatim so any keys this layer does not model are preserved.

Implementation

Map<String, dynamic> toJson() => Map<String, dynamic>.from(raw);