InputValue.fromJson constructor

InputValue.fromJson(
  1. Map json_
)

Implementation

InputValue.fromJson(core.Map json_)
    : this(
        checkboxInputValue: json_.containsKey('checkboxInputValue')
            ? InputValueCheckboxInputValue.fromJson(
                json_['checkboxInputValue']
                    as core.Map<core.String, core.dynamic>)
            : null,
        choiceInputValue: json_.containsKey('choiceInputValue')
            ? InputValueChoiceInputValue.fromJson(json_['choiceInputValue']
                as core.Map<core.String, core.dynamic>)
            : null,
        inputFieldId: json_.containsKey('inputFieldId')
            ? json_['inputFieldId'] as core.String
            : null,
        textInputValue: json_.containsKey('textInputValue')
            ? InputValueTextInputValue.fromJson(json_['textInputValue']
                as core.Map<core.String, core.dynamic>)
            : null,
      );