Input$WebsiteIntegrationInput.fromJson constructor

Input$WebsiteIntegrationInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$WebsiteIntegrationInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('multilanguage')) {
    final l$multilanguage = data['multilanguage'];
    result$data['multilanguage'] = l$multilanguage == null
        ? null
        : Input$WebsiteIntegrationMultilanguageInput.fromJson(
            (l$multilanguage as Map<String, dynamic>));
  }
  if (data.containsKey('multicurrency')) {
    final l$multicurrency = data['multicurrency'];
    result$data['multicurrency'] = l$multicurrency == null
        ? null
        : Input$WebsiteIntegrationMulticurrencyInput.fromJson(
            (l$multicurrency as Map<String, dynamic>));
  }
  return Input$WebsiteIntegrationInput._(result$data);
}