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