17 lines
308 B
Dart
17 lines
308 B
Dart
class CoursePlanEvent {
|
|
final String uuid;
|
|
|
|
CoursePlanEvent({required this.uuid});
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
'uuid': uuid,
|
|
};
|
|
}
|
|
|
|
factory CoursePlanEvent.fromJson(Map<String, dynamic> json) {
|
|
return CoursePlanEvent(
|
|
uuid: json['uuid'] as String,
|
|
);
|
|
}
|
|
}
|