isSameType function
Check if Object1 obj1
is same as Object2 obj2
it might return false in many cases
Implementation
bool isSameType(obj1, obj2) {
return obj1.runtimeType == obj2.runtimeType;
}
Check if Object1 obj1
is same as Object2 obj2
it might return false in many cases
bool isSameType(obj1, obj2) {
return obj1.runtimeType == obj2.runtimeType;
}