ChoiceEntity.fromJson constructor

ChoiceEntity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ChoiceEntity.fromJson(Map<String, dynamic> json) => ChoiceEntity(
      label: json["label"],
      value: json["value"],
    );