formatLength method
Returns formatted value
as string based on selected unit
.
Implementation
@override
Future<String?> formatLength(
FlutterMeasureFormatterUnit unit, double value) async {
return _channel.invokeMethod<String>(
'formatLength',
<String, Object>{'unit': unit.toString(), 'value': value},
);
}