isSameSource method

bool isSameSource(
  1. BUIRenderSource other
)

Implementation

bool isSameSource(BUIRenderSource other) {
  if (identical(this, other)) return true;
  if (identical(_source, other._source)) return true;
  if (_source == other._source) return true;

  var s1 = toString();
  var s2 = other.toString();
  var eq = s1 == s2;

  return eq;
}