Trigger.fromJson constructor
Trigger.fromJson(
- Map json_
Implementation
Trigger.fromJson(core.Map json_)
: this(
count: json_.containsKey('count') ? json_['count'] as core.int : null,
percent: json_.containsKey('percent')
? (json_['percent'] as core.num).toDouble()
: null,
);