FlexValue.fromPointer constructor

FlexValue.fromPointer(
  1. Pointer<FlexValueNative> pointer
)

Implementation

FlexValue.fromPointer(Pointer<FlexValueNative> pointer)
    : value = pointer.ref.value,
      unit = flexUnitFromInt(pointer.ref.unit);