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