Input$QuestionChoiceInput.fromJson constructor

Input$QuestionChoiceInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$QuestionChoiceInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  final l$item = data['item'];
  result$data['item'] = (l$item as String);
  if (data.containsKey('enable')) {
    final l$enable = data['enable'];
    result$data['enable'] = (l$enable as bool?);
  }
  return Input$QuestionChoiceInput._(result$data);
}