fromJson static method

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

Creates a object from a json

Implementation

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