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