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