toString method

  1. @override
String toString()
override

Returns a String representation of the Units in the following format:

full name MKS value

Implementation

@override
String toString() => '$name [$convToMKS]';