RunningService.fromJson constructor

RunningService.fromJson(
  1. Map json_
)

Implementation

RunningService.fromJson(core.Map json_)
    : this(
        cmdline: json_.containsKey('cmdline')
            ? json_['cmdline'] as core.String
            : null,
        exePath: json_.containsKey('exePath')
            ? json_['exePath'] as core.String
            : null,
        pid: json_.containsKey('pid') ? json_['pid'] as core.String : null,
        serviceName: json_.containsKey('serviceName')
            ? json_['serviceName'] as core.String
            : null,
        startMode: json_.containsKey('startMode')
            ? json_['startMode'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );