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