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