encodeUnitType function

int? encodeUnitType(
  1. UnitType? value
)

Implementation

int? encodeUnitType (UnitType? value) {
  return value?.value;
}