JobEvent.fromJson constructor

JobEvent.fromJson(
  1. Map json_
)

Implementation

JobEvent.fromJson(core.Map json_)
    : this(
        jobs: json_.containsKey('jobs')
            ? (json_['jobs'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );