DarwinVersion.fromNumber constructor

DarwinVersion.fromNumber(
  1. num number
)

Constructs a DarwinVersion from num.

Implementation

factory DarwinVersion.fromNumber(num number) =>
    DarwinVersion.fromString('$number');