17 lines
360 B
Dart
17 lines
360 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'fragment.g.dart';
|
|
|
|
/// Fragment used for DASH Manifests.
|
|
@JsonSerializable()
|
|
class Fragment {
|
|
final String path;
|
|
|
|
const Fragment(this.path);
|
|
|
|
factory Fragment.fromJson(Map<String, dynamic> json) =>
|
|
_$FragmentFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$FragmentToJson(this);
|
|
}
|