passo_mobile_app/lib/model/utils/position.dart

19 lines
364 B
Dart
Raw Normal View History

class PositionTitle {
PositionTitle({
2023-02-20 07:48:24 +00:00
this.id,
this.title,
});
final int? id;
final String? title;
factory PositionTitle.fromJson(Map<String, dynamic> json) => PositionTitle(
2023-02-20 07:48:24 +00:00
id: json["id"],
title: json["title"],
);
Map<String, dynamic> toJson() => {
"id": id,
"title": title,
};
}