import 'package:flutter/material.dart'; class OptionModel { final T value; final String label; final IconData? icon; const OptionModel({ required this.value, required this.label, this.icon, }); @override bool operator ==(Object other) => identical(this, other) || other is OptionModel && runtimeType == other.runtimeType && value == other.value; @override int get hashCode => value.hashCode; }