InputValue.fromJson constructor

InputValue.fromJson(
  1. Map json_
)

Implementation

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