fromJson static method
Implementation
static LiveStream fromJson(Map<String, dynamic> json) {
return LiveStream(
userId: json['user_id'] ?? '',
type: json['type'] ?? '',
url: json['url'] ?? '',
);
}
static LiveStream fromJson(Map<String, dynamic> json) {
return LiveStream(
userId: json['user_id'] ?? '',
type: json['type'] ?? '',
url: json['url'] ?? '',
);
}