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