VideoChatEnded.fromJson constructor

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

Creates a VideoChatEnded object from JSON object

Implementation

factory VideoChatEnded.fromJson(Map<String, dynamic> json) {
  return VideoChatEnded(
    duration: json['duration'],
  );
}