toJson method
Implementation
Map<String, Object?> toJson() => {
'shortCode': shortCode,
'routePath': routePath,
'routeParameters': routeParameters,
'socialTitle': socialTitle,
'socialDescription': socialDescription,
'socialImageUrl': socialImageUrl,
'isShortLink': isShortLink,
'forceRedirect': forceRedirect,
'isActive': isActive,
'domain': domain,
'campaign': campaign.toJson(),
if (iosAppStoreId != null) 'iosAppStoreId': iosAppStoreId,
};