/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2023-01-03 14:54:29
 * @LastEditTime : 2023-05-08 09:34:38
 * @Description  : Do not edit
 */
class TabCardItemModel {
  num? number;
  String? name;
  Function()? onTap;


  TabCardItemModel({
    this.number,
    this.name,
    this.onTap,
  });

  TabCardItemModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});

    number = map['number'];
    name = map['name'];
    onTap = map['onTap'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();

    json['number'] = this.number;
    json['name'] = this.name;
    json['onTap'] = this.onTap;

    return json;
  }
}
