Settings.fromJson constructor
Settings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Settings.fromJson(Map<String, dynamic> json) => Settings(
apiEnabled: json["api_enabled"],
forceSsl: json["force_ssl"],
currency: json["currency"],
currencySymbol: json["currency_symbol"],
currencyPosition: json["currency_position"],
thousandSeparator: json["thousand_separator"],
decimalSeparator: json["decimal_separator"],
numberOfDecimals: json["number_of_decimals"],
geolocationEnabled: json["geolocation_enabled"],
taxonomies: Taxonomies.fromJson(json["taxonomies"]),
productVisibilityTerms:
ProductVisibilityTerms.fromJson(json["product_visibility_terms"]),
);