compareDomainValueToViewport method
Compare domain to the viewport.
0 if the domain is in the viewport. 1 if the domain is to the right of the viewport. -1 if the domain is to the left of the viewport.
Implementation
@override
int compareDomainValueToViewport(D domain) =>
scale!.compareDomainValueToViewport(domain);