Skip to content

MassOps ​

extensionMassOpsonnum

Extension methods for constructing Mass values from num.

Properties ​

carats extension no setter ​

Massgetcarats

Creates a Mass of this value in carats.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get carats => Mass.carats(this);

grams extension no setter ​

Massgetgrams

Creates a Mass of this value in grams.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get grams => Mass.grams(this);

kilograms extension no setter ​

Massgetkilograms

Creates a Mass of this value in kilograms.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get kilograms => Mass.kilograms(this);

kilopounds extension no setter ​

Massgetkilopounds

Creates a Mass of this value in kilopounds.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get kilopounds => Mass.kilopounds(this);

megapounds extension no setter ​

Massgetmegapounds

Creates a Mass of this value in megapounds.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get megapounds => Mass.megapounds(this);

micrograms extension no setter ​

Massgetmicrograms

Creates a Mass of this value in micrograms.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get micrograms => Mass.micrograms(this);

milligrams extension no setter ​

Massgetmilligrams

Creates a Mass of this value in milligrams.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get milligrams => Mass.milligrams(this);

nanograms extension no setter ​

Massgetnanograms

Creates a Mass of this value in nanograms.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get nanograms => Mass.nanograms(this);

ounces extension no setter ​

Massgetounces

Creates a Mass of this value in ounces.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get ounces => Mass.ounces(this);

pennyweights extension no setter ​

Massgetpennyweights

Creates a Mass of this value in pennyweights.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get pennyweights => Mass.pennyweights(this);

pounds extension no setter ​

Massgetpounds

Creates a Mass of this value in pounds.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get pounds => Mass.pounds(this);

stone extension no setter ​

Massgetstone

Creates a Mass of this value in stone.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get stone => Mass.stone(this);

tolas extension no setter ​

Massgettolas

Creates a Mass of this value in tolas.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get tolas => Mass.tolas(this);

tonnes extension no setter ​

Massgettonnes

Creates a Mass of this value in metric tonnes.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get tonnes => Mass.tonnes(this);

troyGrains extension no setter ​

MassgettroyGrains

Creates a Mass of this value in troy grains.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get troyGrains => Mass.troyGrains(this);

troyOunces extension no setter ​

MassgettroyOunces

Creates a Mass of this value in troy ounces.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get troyOunces => Mass.troyOunces(this);

troyPounds extension no setter ​

MassgettroyPounds

Creates a Mass of this value in troy pounds.

Available on num, provided by the MassOps extension

Implementation
dart
Mass get troyPounds => Mass.troyPounds(this);