ColumnBean.fromJson constructor
Implementation
factory ColumnBean.fromJson(Map<String, Object?> json) {
return ColumnBean(
name: json[r'name'] as String?,
statuses: (json[r'statuses'] as List<Object?>?)
?.map((i) => ColumnBeanStatusesItem.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
min: (json[r'min'] as num?)?.toInt(),
max: (json[r'max'] as num?)?.toInt(),
);
}