toExtent method

double? toExtent({
  1. required bool isDimension,
})

Implementation

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