fromJson static method

SelectionEntityListBean? fromJson(
  1. Map<String, dynamic>? map
)

Implementation

static SelectionEntityListBean? fromJson(Map<String, dynamic>? map) {
  if (map == null || map['list'] == null) return null;
  SelectionEntityListBean bean = SelectionEntityListBean(null);
  bean.list =
      (map['list'] as List).map((o) => SelectionEntity.fromMap(o)).toList();
  return bean;
}