MultipleSelectConfig.fromJson constructor

MultipleSelectConfig.fromJson(
  1. Map json_
)

Implementation

MultipleSelectConfig.fromJson(core.Map json_)
    : this(
        allowCustomValues: json_.containsKey('allowCustomValues')
            ? json_['allowCustomValues'] as core.bool
            : null,
        multipleSelectOptions: json_.containsKey('multipleSelectOptions')
            ? (json_['multipleSelectOptions'] as core.List)
                .map((value) => MultipleSelectOption.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        valueSeparator: json_.containsKey('valueSeparator')
            ? json_['valueSeparator'] as core.String
            : null,
      );