HcMultipleSelectItem<V, D, C>.fromJson constructor

HcMultipleSelectItem<V, D, C>.fromJson(
  1. Map<String, dynamic> json, {
  2. dynamic displayKey = 'display',
  3. dynamic valueKey = 'value',
  4. dynamic contentKey = 'content',
})

Implementation

HcMultipleSelectItem.fromJson(
  Map<String, dynamic> json, {
  displayKey = 'display',
  valueKey = 'value',
  contentKey = 'content',
})  : value = json[valueKey] ?? '',
      display = json[displayKey] ?? '',
      content = json[contentKey] ?? '';