convertLength method
Returns converted value
to string value based on selected unit
based on your regional settings.
Implementation
@override
Future<String?> convertLength(
FlutterMeasureFormatterUnit unit, double value) async {
return _channel.invokeMethod<String>(
'convertLength',
<String, Object>{'unit': unit.toString(), 'value': value},
);
}