MessageStatus.fromJson constructor

MessageStatus.fromJson(
  1. Map<String, dynamic> json
)

Creates a MessageStatus instance from a JSON map.

Implementation

factory MessageStatus.fromJson(Map<String, dynamic> json) => MessageStatus(
      status: json["status"],
    );