Call.fromJson constructor
Parse from a json
Implementation
factory Call.fromJson(Map<String, dynamic> json) => Call(
id: json['id'],
userId: json['user_id'],
isOutgoing: json['is_outgoing'],
isVideo: json['is_video'],
state: CallState.fromJson(json['state']),
);