fuzzyComparison method
Fuzzy Compare. return this == other.
other
: The target for comparison.
Implementation
bool fuzzyComparison(EnumBase other) {
final List<EnumBase> myList = FBase.allCode[this]!;
final List<EnumBase> others = FBase.allCode[other]!;
for (EnumBase i in myList) {
for (EnumBase j in others) {
if (i == j) {
return true;
}
}
}
return false;
}