ImportMappingRulesRequest.fromJson constructor

ImportMappingRulesRequest.fromJson(
  1. Map json_
)

Implementation

ImportMappingRulesRequest.fromJson(core.Map json_)
    : this(
        autoCommit: json_.containsKey('autoCommit')
            ? json_['autoCommit'] as core.bool
            : null,
        rulesFiles: json_.containsKey('rulesFiles')
            ? (json_['rulesFiles'] as core.List)
                .map((value) => RulesFile.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        rulesFormat: json_.containsKey('rulesFormat')
            ? json_['rulesFormat'] as core.String
            : null,
      );