This commit is contained in:
kodjomoustapha
2023-12-08 16:04:42 +01:00
parent 0beb2dd78f
commit fe6bf88086
492 changed files with 3988 additions and 2639 deletions

View File

@@ -31,6 +31,8 @@ class Source {
String? appMinVerReq;
String? additionalParams;
Source(
{this.id = null,
this.name = "",
@@ -38,8 +40,8 @@ class Source {
this.lang = "",
this.typeSource = "",
this.iconUrl = "",
this.dateFormat,
this.dateFormatLocale,
this.dateFormat = "",
this.dateFormatLocale = "",
this.isNsfw = false,
this.hasCloudflare = false,
this.sourceCodeUrl = "",
@@ -47,7 +49,8 @@ class Source {
this.version = "",
this.isManga = true,
this.isFullData = false,
this.appMinVerReq = "0.1.2"});
this.appMinVerReq = "0.1.2",
this.additionalParams = ""});
Map<String, dynamic> toJson() {
return {
@@ -66,7 +69,8 @@ class Source {
"version": version,
"isManga": isManga,
"isFullData": isFullData,
"appMinVerReq": appMinVerReq
"appMinVerReq": appMinVerReq,
"additionalParams": additionalParams
};
}
}