canMergeWith method

  1. @override
bool canMergeWith(
  1. Attribution other
)
override

Returns true if this Attribution can be combined with the other Attribution, replacing both smaller attributions with one larger attribution.

Implementation

@override
bool canMergeWith(Attribution other) {
  return other is ScriptAttribution && type == other.type;
}