Files
Fondex-Driver/lib/models/document_model.dart
2025-12-08 23:25:00 +05:00

31 lines
756 B
Dart

class DocumentModel {
bool? backSide;
bool? enable;
bool? expireAt;
String? id;
bool? frontSide;
String? title;
DocumentModel({this.backSide, this.enable, this.id, this.frontSide, this.title, this.expireAt});
DocumentModel.fromJson(Map<String, dynamic> json) {
backSide = json['backSide'];
enable = json['enable'];
id = json['id'];
frontSide = json['frontSide'];
title = json['title'];
expireAt = json['expireAt'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['backSide'] = backSide;
data['enable'] = enable;
data['id'] = id;
data['frontSide'] = frontSide;
data['title'] = title;
data['expireAt'] = expireAt;
return data;
}
}