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