Activity constructor
Activity({
- dynamic Bq,
- dynamic Ci,
- double uncert = 0.0,
Construct an Activity with either becquerels (Bq
) or curies (Ci
).
Optionally specify a relative standard uncertainty.
Implementation
// ignore: non_constant_identifier_names
Activity({dynamic Bq, dynamic Ci, double uncert = 0.0})
: super(Bq ?? (Ci ?? 0.0),
Ci != null ? Activity.curies : Activity.becquerels, uncert);