distance property

double? get distance

Implementation

double? get distance => isActive ? _distance : null;