InputFieldChoiceInput.fromJson constructor

InputFieldChoiceInput.fromJson(
  1. Map json_
)

Implementation

InputFieldChoiceInput.fromJson(core.Map json_)
    : this(
        options: json_.containsKey('options')
            ? (json_['options'] as core.List)
                .map((value) =>
                    InputFieldChoiceInputChoiceInputOption.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );