fromString
This method is used to convert a String to an DistanceUnit. If the String is not found, the DistanceUnit.UNKNOWN is returned.
Return
Parameters
value
String is a string naming.
This method is used to convert a String to an DistanceUnit. If the String is not found, the DistanceUnit.UNKNOWN is returned.
String is a string naming.