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
451 B

import 'package:json_annotation/json_annotation.dart';
part 'player_context.g.dart';
@JsonSerializable()
class PlayerContext {
PlayerContext(this.title, this.subtitle, this.type, this.uri);
final String title;
final String subtitle;
final String type;
final String uri;
factory PlayerContext.fromJson(Map<String, dynamic> json) =>
_$PlayerContextFromJson(json);
Map<String, dynamic> toJson() => _$PlayerContextToJson(this);
}