toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['app_name'] = this.appName;
  data['app_logo'] = this.appLogo;
  data['app_termslink'] = this.appTermslink;
  data['app_privacylink'] = this.appPrivacylink;
  data['app_debug'] = this.appDebug;
  data['app_status'] = this.appStatus;
  if (this.currencyMeta != null) {
    data['currency_meta'] = this.currencyMeta!.toJson();
  }
  data['banner_images'] = this.bannerImages;
  data['stripe_live_mode'] = this.stripeLiveMode;
  data['stripe_account'] = this.stripeAccount;
  data['wp_login_enabled'] = this.wpLoginEnabled;
  data['wp_login_base_url'] = this.wpLoginBaseUrl;
  data['wp_login_forgot_password_url'] = this.wpLoginForgotPasswordUrl;
  data['wp_login_wp_api_path'] = this.wpLoginWpApiPath;
  data['product_prices_include_tax'] = this.productPricesIncludeTax;
  data['disable_shipping'] = this.disableShipping;
  data['theme'] = this.theme;
  data['locale'] = this.locale;
  data['paypal_locale'] = this.paypalLocale;
  data['paypal_email'] = this.paypalEmail;
  data['stripe_enabled'] = this.stripeEnabled;
  data['cod_enabled'] = this.codEnabled;
  data['paypal_enabled'] = this.paypalEnabled;
  data['stripe_country_code'] = this.stripeCountryCode;
  return data;
}