DiagnosisConfiguration class

Constructors

DiagnosisConfiguration({List<int> attenuationDurationThresholds, List<int> attenuationRiskValues, int attenuationWeight = 50, List<int> daysAfterContactedRiskValues, int daysAfterContactedWeight = 50, List<int> durationRiskValues, int durationWeight = 50, List<int> initialRiskLevelRiskValues, int initialRiskLevelWeight = 50, int minimumRiskValueThreshold = 1})
DiagnosisConfiguration.fromJson(String str)
factory
DiagnosisConfiguration.fromMap(Map<String, dynamic> json)
factory

Properties

attenuationDurationThresholds List<int>
read / write
attenuationRiskValues List<int>
read / write
attenuationWeight int
read / write
daysAfterContactedRiskValues List<int>
read / write
daysAfterContactedWeight int
read / write
durationRiskValues List<int>
read / write
durationWeight int
read / write
hashCode int
The hash code for this object. [...]
read-only, override
initialRiskLevelRiskValues List<int>
read / write
initialRiskLevelWeight int
read / write
minimumRiskValueThreshold int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override