AreaInterpreter.squared constructor

AreaInterpreter.squared(
  1. MeasurementInterpreter<Distance> a, {
  2. String? name,
})

Constructs an AreaInterpreter that will square a basic DistanceInterpreter.

Implementation

AreaInterpreter.squared(
  final MeasurementInterpreter<Distance> a, {
  final String? name,
}) : this._(name ?? '${a._name}²', a, a);