Skip to content

MassOps

extension MassOps on num

Extension methods for constructing Mass values from num.

Properties

carats extension no setter

Mass get carats

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

Mass get grams

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

Mass get kilograms

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

Mass get kilopounds

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

Mass get megapounds

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

Mass get micrograms

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

Mass get milligrams

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

Mass get nanograms

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

Mass get ounces

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

Mass get pennyweights

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

Mass get pounds

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

Mass get stone

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

Mass get tolas

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

Mass get tonnes

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

Mass get troyGrains

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

Mass get troyOunces

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

Mass get troyPounds

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);