// ignore_for_file: hash_and_equals class Distinguishment { late String type; String? detail; String? header; String? footer; Distinguishment({required this.type, this.detail, this.header, this.footer}); Distinguishment.fromJson(Map json) { type = json['type']; detail = json['detail']; header = json['header']; footer = json['footer']; } @override bool operator ==(covariant Distinguishment other) => type == other.type && detail == other.detail && header == other.header && footer == other.footer; Map toJson() { final Map data = {}; data['type'] = type; data['detail'] = detail; data['header'] = header; data['footer'] = footer; return data; } }