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