Decision.fromMap constructor
Decision.fromMap(
- Map map
Implementation
Decision.fromMap(Map<dynamic, dynamic> map)
: variation = EnumUtil.parseToEnum<Variation>(
Variation.values,
map["variation"].toString(),
),
reason = EnumUtil.parseToEnum<DecisionReason>(
DecisionReason.values,
map["reason"].toString(),
),
config = map["config"] != null
? ParameterConfigImpl.fromMap(map["config"])
: EmptyParameterConfig();