File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ class Area extends Measurement<Area> {
146
146
double get asSquareInches => _precise (Area .squareInches._of (si));
147
147
148
148
@override
149
- String toString () => '${ asSquareMeters } m²' ;
149
+ String toString () => '$asSquareMeters m²' ;
150
150
151
151
@override
152
152
Area _construct (final double squareMeters, final Precision precision) =>
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ class Distance extends Measurement<Distance> {
184
184
double get asNauticalMiles => _preciseOf (Distance .nauticalMiles);
185
185
186
186
@override
187
- String toString () => '${ asMeters } m' ;
187
+ String toString () => '$asMeters m' ;
188
188
189
189
@override
190
190
Distance _construct (final double si, final Precision precision) =>
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ part of fling_units;
7
7
/// will generally only require the built-in converters for the [Measurement]
8
8
/// types being used (e.g. [Distance.miles] ), but if needed, some
9
9
/// [MeasurementInterpreter] subtypes can be configured further (e.g.
10
- /// [AreaConverter ] ).
10
+ /// [AreaInterpreter ] ).
11
11
///
12
12
/// Users should not need to access the internal workings of
13
- /// [MeasurementConverters] , but instead pass them to the appropriate
13
+ /// [MeasurementInterpreter] s , but instead pass them to the appropriate
14
14
/// [Measurement] instances for interpretation (typically via an `as()` method,
15
15
/// such as [Area.as] ).
16
16
abstract class MeasurementInterpreter <T > {
You can’t perform that action at this time.
0 commit comments