Files
plezy/lib/models/mpv_config_models.dart
T

17 lines
435 B
Dart
Raw Normal View History

import 'package:json_annotation/json_annotation.dart';
part 'mpv_config_models.g.dart';
@JsonSerializable()
2025-12-20 15:43:14 +01:00
class MpvPreset {
final String name;
final String text;
2025-12-20 15:43:14 +01:00
final DateTime createdAt;
const MpvPreset({required this.name, required this.text, required this.createdAt});
2025-12-20 15:43:14 +01:00
factory MpvPreset.fromJson(Map<String, dynamic> json) => _$MpvPresetFromJson(json);
2025-12-20 15:43:14 +01:00
Map<String, dynamic> toJson() => _$MpvPresetToJson(this);
2025-12-20 15:43:14 +01:00
}