MultiSelectProp.fromJson constructor

MultiSelectProp.fromJson(
  1. Map<String, dynamic> json, {
  2. String? subfield,
})

Implementation

MultiSelectProp.fromJson(Map<String, dynamic> json, {String? subfield})
    : this.options = MultiSelectOption.fromListJson((subfield != null
          ? json[propertyTypeToString(PropertiesTypes.MultiSelect)][subfield]
          : json[propertyTypeToString(PropertiesTypes.MultiSelect)]) as List),
      super(id: json['id']);