import 'dart:ui';

class WorkListItemTypeModelData {
  late int value;
  late String name;
  late String fullName;
  late bool active;
  late List<Color> color;
  late String icon;
  late String key;
  late bool disable;

  WorkListItemTypeModelData({required this.value, required this.name, required this.fullName, required this.active, required this.color, required this.icon, required this.key, required this.disable});

  WorkListItemTypeModelData.fromJson(Map<String, dynamic> json) {
    value = json['value'];
    name = json['name'];
    fullName = json['fullName'];
    active = json['active'];
    color = json['color'];
    icon = json['icon'];
    key = json['key'];
    disable = json['disable'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = <String, dynamic>{};
    data['value'] = value;
    data['name'] = name;
    data['fullName'] = fullName;
    data['active'] = active;
    data['color'] = color;
    data['icon'] = icon;
    data['key'] = key;
    data['disable'] = disable;
    return data;
  }
}
