toJson method

Map<String, dynamic> toJson()

Converts a MessageStatus instance to a JSON map.

Implementation

Map<String, dynamic> toJson() => {
      "status": status,
    };