allFromJson static method
List<HcMultipleSelectItem>
allFromJson(
- List jsonList, {
- dynamic displayKey = 'display',
- dynamic valueKey = 'value',
- dynamic contentKey = 'content',
Implementation
static List<HcMultipleSelectItem> allFromJson(
List jsonList, {
displayKey = 'display',
valueKey = 'value',
contentKey = 'content',
}) {
return jsonList
.map((json) => HcMultipleSelectItem.fromJson(
json,
displayKey: displayKey,
valueKey: valueKey,
contentKey: contentKey,
))
.toList();
}