18 lines
411 B
Dart
18 lines
411 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'queue_bean.g.dart';
|
|
|
|
///
|
|
@JsonSerializable(explicitToJson: true)
|
|
class QueueBean {
|
|
int? play_queue_id;
|
|
int? queue_pos;
|
|
int? level;
|
|
|
|
QueueBean(this.play_queue_id, this.queue_pos, this.level);
|
|
|
|
factory QueueBean.fromJson(Map<String, dynamic> json) => _$QueueBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$QueueBeanToJson(this);
|
|
}
|