BoardConfigBeanColumnConfigColumnsItem.fromJson constructor

BoardConfigBeanColumnConfigColumnsItem.fromJson(
  1. Map<String, Object?> json
)

Implementation

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