double? toExtent({required bool isDimension}) => this == null ? null : (this!.isNegative && isDimension ? double.infinity : (this!.isNaN ? 0 : this!.dp));