class Employee {
  int? id;
  String? name;

  Employee({
    this.id,
    this.name,
  });

  Employee.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['fullName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['fullName'] = this.name;
    return data;
  }
}
