Condition.fromJson constructor
Condition.fromJson(
- Map json_
Implementation
Condition.fromJson(core.Map json_)
: this(
andCondition: json_.containsKey('andCondition')
? AndCondition.fromJson(
json_['andCondition'] as core.Map<core.String, core.dynamic>)
: null,
orCondition: json_.containsKey('orCondition')
? OrCondition.fromJson(
json_['orCondition'] as core.Map<core.String, core.dynamic>)
: null,
percent: json_.containsKey('percent')
? PercentCondition.fromJson(
json_['percent'] as core.Map<core.String, core.dynamic>)
: null,
);