toNative static method

CanonicalUnitNative toNative(
  1. CanonicalUnit obj
)

Implementation

static CanonicalUnitNative toNative(CanonicalUnit obj) {
  return _CanonicalUnitNativeInit(
      to_native.toNativeString(obj.unit), obj.value);
}