create method
Factory that creates a new instance of the concrete subtype Q.
Implementation
@override
@protected
Voltage create(double value, VoltageUnit unit) => Voltage(value, unit);
Factory that creates a new instance of the concrete subtype Q.
@override
@protected
Voltage create(double value, VoltageUnit unit) => Voltage(value, unit);