mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-03 00:29:42 +08:00
16 lines
357 B
Dart
16 lines
357 B
Dart
import 'package:PiliPlus/models_new/live/live_room_play_info/stream.dart';
|
|
|
|
class Playurl {
|
|
List<Stream>? stream;
|
|
|
|
Playurl({
|
|
this.stream,
|
|
});
|
|
|
|
factory Playurl.fromJson(Map<String, dynamic> json) => Playurl(
|
|
stream: (json['stream'] as List<dynamic>?)
|
|
?.map((e) => Stream.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
}
|