CallStateDiscarded.fromJson constructor

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

Parse from a json

Implementation

factory CallStateDiscarded.fromJson(Map<String, dynamic> json) => CallStateDiscarded(
  reason: CallDiscardReason.fromJson(json['reason']),
  needRating: json['need_rating'],
  needDebugInformation: json['need_debug_information'],
);