toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cmdline != null) 'cmdline': cmdline!,
      if (exePath != null) 'exePath': exePath!,
      if (pid != null) 'pid': pid!,
      if (serviceName != null) 'serviceName': serviceName!,
      if (startMode != null) 'startMode': startMode!,
      if (state != null) 'state': state!,
    };