Trigger.fromJson constructor

Trigger.fromJson(
  1. Map json_
)

Implementation

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