factory Stream.fromJson(Map<String, dynamic> json) { return Stream( fileId: json['fileId'] as int?, streamId: json['streamId'] as String?, ); }