You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
419 B
18 lines
419 B
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'capabilities.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Capabilities {
|
|
Capabilities({
|
|
required this.canPlayOnDemand,
|
|
});
|
|
|
|
@JsonKey(name: 'can_play_on_demand')
|
|
final bool canPlayOnDemand;
|
|
|
|
factory Capabilities.fromJson(Map<String, dynamic> json) =>
|
|
_$CapabilitiesFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$CapabilitiesToJson(this);
|
|
}
|
|
|