Files
daily_mobileapp_merchant/lib/Model/Response/Notification/Notificationresponse.dart
2026-05-27 10:35:09 +05:30

22 lines
517 B
Dart

class NotificationResponse {
int? code;
String? message;
bool? status;
NotificationResponse({this.code, this.message, this.status});
NotificationResponse.fromJson(Map<String, dynamic> json) {
code = json['code'];
message = json['message'];
status = json['status'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['code'] = this.code;
data['message'] = this.message;
data['status'] = this.status;
return data;
}
}