toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'environment': environment!.name,
'appId': appId,
'secret': secret,
'appName': appName,
'accentColor': accentColor.value.toRadixString(16),
'accentForegroundColor': accentForegroundColor.value.toRadixString(16),
'user': user.toJson(),
'appLogo': appLogo?.toString(),
'appBrand': appBrand?.toString(),
'splashForegroundColor': splashForegroundColor?.value.toRadixString(16),
'splashBackgroundColor': splashBackgroundColor?.value.toRadixString(16),
'sac': sac?.toJson(),
'isRootRoute': isRootRoute,
'titleRoute': titleRoute,
};
}