toJson abstract method

Map<String, dynamic> toJson()

Converts MessageOrigin instance to a JSON object.

Implementation

Map<String, dynamic> toJson();