getDiffByInstance method
Get the difference between two instances RenderObject by Instance.
Implementation
ComparisonDiff? getDiffByInstance(RenderData? first, RenderData? second) {
if (first == null || second == null) return null;
return first - second;
}