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