core.Map<core.String, core.dynamic> toJson() => { if (args != null) 'args': args!, if (command != null) 'command': command!, if (timeoutSeconds != null) 'timeoutSeconds': timeoutSeconds!, };