class DropDownDataStringModel{ String cod; String title; DropDownDataStringModel({ required this.cod, required this.title }); @override bool operator ==(Object other) => identical(this, other) || other is DropDownDataStringModel && runtimeType == other.runtimeType && cod == other.cod && title == other.title; @override int get hashCode => cod.hashCode ^ title.hashCode; }