DelayedEvent.fromJson constructor

DelayedEvent.fromJson(
  1. Map _json
)

Implementation

DelayedEvent.fromJson(core.Map _json)
    : this(
        cause:
            _json.containsKey('cause') ? _json['cause'] as core.String : null,
        metrics: _json.containsKey('metrics')
            ? (_json['metrics'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );