Files
2026-05-27 10:35:09 +05:30

93 lines
2.6 KiB
Dart

class AppConfigResponse {
int? code;
bool? status;
String? message;
Details? details;
AppConfigResponse({this.code, this.status, this.message, this.details});
AppConfigResponse.fromJson(Map<String, dynamic> json) {
code = json['code'];
status = json['status'];
message = json['message'];
details =
json['details'] != null ? new Details.fromJson(json['details']) : null;
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['code'] = this.code;
data['status'] = this.status;
data['message'] = this.message;
if (this.details != null) {
data['details'] = this.details!.toJson();
}
return data;
}
}
class Details {
int? configid;
String? appname;
String? paymentdevkey;
String? paymentlivekey;
String? fcmkey;
String? googleapikey;
int? applocationradius;
int? smsproviderid;
String? providerapi;
String? providerkey;
String? sender;
String? templateid;
int? defaultprovider;
Details(
{this.configid,
this.appname,
this.paymentdevkey,
this.paymentlivekey,
this.fcmkey,
this.googleapikey,
this.applocationradius,
this.smsproviderid,
this.providerapi,
this.providerkey,
this.sender,
this.templateid,
this.defaultprovider});
Details.fromJson(Map<String, dynamic> json) {
configid = json['configid'];
appname = json['appname'];
paymentdevkey = json['paymentdevkey'];
paymentlivekey = json['paymentlivekey'];
fcmkey = json['fcmkey'];
googleapikey = json['googleapikey'];
applocationradius = json['applocationradius'];
smsproviderid = json['smsproviderid'];
providerapi = json['providerapi'];
providerkey = json['providerkey'];
sender = json['sender'];
templateid = json['templateid'];
defaultprovider = json['defaultprovider'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['configid'] = this.configid;
data['appname'] = this.appname;
data['paymentdevkey'] = this.paymentdevkey;
data['paymentlivekey'] = this.paymentlivekey;
data['fcmkey'] = this.fcmkey;
data['googleapikey'] = this.googleapikey;
data['applocationradius'] = this.applocationradius;
data['smsproviderid'] = this.smsproviderid;
data['providerapi'] = this.providerapi;
data['providerkey'] = this.providerkey;
data['sender'] = this.sender;
data['templateid'] = this.templateid;
data['defaultprovider'] = this.defaultprovider;
return data;
}
}