todo alert for next version
This commit is contained in:
parent
1d67da9598
commit
032ad96f8e
|
|
@ -6,7 +6,8 @@ class MainPageBannerType {
|
|||
|
||||
factory MainPageBannerType.fromJson(Map<String, dynamic> json) {
|
||||
return MainPageBannerType(
|
||||
image: json['image'],
|
||||
// fix if it null
|
||||
image: json['image'] ?? '',
|
||||
link: json['link'],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue