isCompatibleTo method

  1. @override
bool isCompatibleTo(
  1. NestedResult other
)
override

Checks whether this is compatible to the other nested result, which is the case iff they have the same and read from the same table.

Implementation

@override
bool isCompatibleTo(NestedResult other) {
  if (other is! NestedResultTable) return false;

  return other.name == name &&
      other.table == table &&
      other.isNullable == isNullable;
}