toJson method
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'name': name,
'homepage': homepage,
'image_id': imageId,
'order': order,
'mobile_link': mobileLink,
'desktop_link': desktopLink,
'webapp_link': webappLink,
'link_mode': linkMode,
'app_store': appStore,
'play_store': playStore,
'rdns': rdns,
'injected': injected == null
? []
: List<dynamic>.from(injected!.map((x) => x.toJson())),
};