copyWith method
Implementation
DataDropDown copyWith({String? id, String? name, Widget? icon}) {
return DataDropDown(
id: id ?? "",
name: name ?? "",
icon: icon,
);
}
DataDropDown copyWith({String? id, String? name, Widget? icon}) {
return DataDropDown(
id: id ?? "",
name: name ?? "",
icon: icon,
);
}