toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  var json = super.toJson();
  if (adminSettingsId != null) {
    json['adminSettingsId'] = adminSettingsId;
  }
  if (domainName != null) {
    json['domainName'] = domainName;
  }
  if (captchaSecretKey != null) {
    json['captchaSecretKey'] = captchaSecretKey;
  }
  if (privacyPolicy != null) {
    json['privacyPolicy'] = privacyPolicy;
  }
  if (termsOfUse != null) {
    json['termsOfUse'] = termsOfUse;
  }
  if (notificationEmail != null) {
    json['notificationEmail'] = notificationEmail;
  }
  if (defaultDashboardId != null) {
    json['defaultDashboardId'] = defaultDashboardId;
  }
  if (defaultDashboardFullscreen != null) {
    json['defaultDashboardFullscreen'] = defaultDashboardFullscreen;
  }
  if (permissions != null) {
    json['permissions'] = permissions!.map((e) => e.toJson()).toList();
  }
  if (pkgName != null) {
    json['pkgName'] = pkgName;
  }
  if (pkgName != null) {
    json['pkgName'] = pkgName;
  }
  if (appSecret != null) {
    json['appSecret'] = appSecret;
  }
  if (appScheme != null) {
    json['appScheme'] = appScheme;
  }
  if (appHost != null) {
    json['appHost'] = appHost;
  }
  return json;
}