// This file is automatically generated, so please do not edit it. // @generated by `flutter_rust_bridge`@ 2.11.1. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import import '../../frb_generated.dart'; import 'models/album.dart'; import 'models/artist.dart'; import 'models/audio_source.dart'; import 'models/browse.dart'; import 'models/core.dart'; import 'models/image.dart'; import 'models/pagination.dart'; import 'models/playlist.dart'; import 'models/search.dart'; import 'models/track.dart'; import 'models/user.dart'; import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; import 'plugin.dart'; // These functions are ignored (category: IgnoreBecauseExplicitAttribute): `new`, `new`, `new`, `new`, `new`, `new`, `new`, `new`, `new`, `new` class PluginAlbumSender { const PluginAlbumSender(); Future getAlbum( {required OpaqueSender mpscTx, required String id}) => RustLib.instance.api.crateApiPluginSendersPluginAlbumSenderGetAlbum( that: this, mpscTx: mpscTx, id: id); Future releases( {required OpaqueSender mpscTx, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginAlbumSenderReleases( that: this, mpscTx: mpscTx, offset: offset, limit: limit); Future save( {required OpaqueSender mpscTx, required List ids}) => RustLib.instance.api.crateApiPluginSendersPluginAlbumSenderSave( that: this, mpscTx: mpscTx, ids: ids); Future tracks( {required OpaqueSender mpscTx, required String id, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginAlbumSenderTracks( that: this, mpscTx: mpscTx, id: id, offset: offset, limit: limit); Future unsave( {required OpaqueSender mpscTx, required List ids}) => RustLib.instance.api.crateApiPluginSendersPluginAlbumSenderUnsave( that: this, mpscTx: mpscTx, ids: ids); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginAlbumSender && runtimeType == other.runtimeType; } class PluginArtistSender { const PluginArtistSender(); Future albums( {required OpaqueSender mpscTx, required String id, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginArtistSenderAlbums( that: this, mpscTx: mpscTx, id: id, offset: offset, limit: limit); Future getArtist( {required OpaqueSender mpscTx, required String id}) => RustLib.instance.api.crateApiPluginSendersPluginArtistSenderGetArtist( that: this, mpscTx: mpscTx, id: id); Future related( {required OpaqueSender mpscTx, required String id, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginArtistSenderRelated( that: this, mpscTx: mpscTx, id: id, offset: offset, limit: limit); Future save( {required OpaqueSender mpscTx, required List ids}) => RustLib.instance.api.crateApiPluginSendersPluginArtistSenderSave( that: this, mpscTx: mpscTx, ids: ids); Future topTracks( {required OpaqueSender mpscTx, required String id, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginArtistSenderTopTracks( that: this, mpscTx: mpscTx, id: id, offset: offset, limit: limit); Future unsave( {required OpaqueSender mpscTx, required List ids}) => RustLib.instance.api.crateApiPluginSendersPluginArtistSenderUnsave( that: this, mpscTx: mpscTx, ids: ids); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginArtistSender && runtimeType == other.runtimeType; } class PluginAudioSourceSender { const PluginAudioSourceSender(); Future> matches( {required OpaqueSender mpscTx, required SpotubeTrackObject track}) => RustLib.instance.api.crateApiPluginSendersPluginAudioSourceSenderMatches( that: this, mpscTx: mpscTx, track: track); Future> streams( {required OpaqueSender mpscTx, required SpotubeAudioSourceMatchObject matched}) => RustLib.instance.api.crateApiPluginSendersPluginAudioSourceSenderStreams( that: this, mpscTx: mpscTx, matched: matched); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginAudioSourceSender && runtimeType == other.runtimeType; } class PluginAuthSender { const PluginAuthSender(); Future authenticate({required OpaqueSender mpscTx}) => RustLib.instance.api.crateApiPluginSendersPluginAuthSenderAuthenticate( that: this, mpscTx: mpscTx); Future isAuthenticated({required OpaqueSender mpscTx}) => RustLib.instance.api.crateApiPluginSendersPluginAuthSenderIsAuthenticated( that: this, mpscTx: mpscTx); Future logout({required OpaqueSender mpscTx}) => RustLib.instance.api .crateApiPluginSendersPluginAuthSenderLogout(that: this, mpscTx: mpscTx); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginAuthSender && runtimeType == other.runtimeType; } class PluginBrowseSender { const PluginBrowseSender(); Future sectionItems( {required OpaqueSender mpscTx, required String id, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginBrowseSenderSectionItems( that: this, mpscTx: mpscTx, id: id, offset: offset, limit: limit); Future sections( {required OpaqueSender mpscTx, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginBrowseSenderSections( that: this, mpscTx: mpscTx, offset: offset, limit: limit); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginBrowseSender && runtimeType == other.runtimeType; } class PluginCoreSender { const PluginCoreSender(); Future checkUpdate( {required OpaqueSender mpscTx, required PluginConfiguration pluginConfig}) => RustLib.instance.api.crateApiPluginSendersPluginCoreSenderCheckUpdate( that: this, mpscTx: mpscTx, pluginConfig: pluginConfig); Future scrobble( {required OpaqueSender mpscTx, required ScrobbleDetails details}) => RustLib.instance.api.crateApiPluginSendersPluginCoreSenderScrobble( that: this, mpscTx: mpscTx, details: details); Future support({required OpaqueSender mpscTx}) => RustLib.instance.api .crateApiPluginSendersPluginCoreSenderSupport(that: this, mpscTx: mpscTx); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginCoreSender && runtimeType == other.runtimeType; } class PluginPlaylistSender { const PluginPlaylistSender(); Future addTracks( {required OpaqueSender mpscTx, required String playlistId, required List trackIds, int? position}) => RustLib.instance.api.crateApiPluginSendersPluginPlaylistSenderAddTracks( that: this, mpscTx: mpscTx, playlistId: playlistId, trackIds: trackIds, position: position); Future createPlaylist( {required OpaqueSender mpscTx, required String userId, required String name, String? description, bool? public, bool? collaborative}) => RustLib.instance.api .crateApiPluginSendersPluginPlaylistSenderCreatePlaylist( that: this, mpscTx: mpscTx, userId: userId, name: name, description: description, public: public, collaborative: collaborative); Future deletePlaylist( {required OpaqueSender mpscTx, required String playlistId}) => RustLib.instance.api .crateApiPluginSendersPluginPlaylistSenderDeletePlaylist( that: this, mpscTx: mpscTx, playlistId: playlistId); Future getPlaylist( {required OpaqueSender mpscTx, required String id}) => RustLib.instance.api.crateApiPluginSendersPluginPlaylistSenderGetPlaylist( that: this, mpscTx: mpscTx, id: id); Future removeTracks( {required OpaqueSender mpscTx, required String playlistId, required List trackIds}) => RustLib.instance.api .crateApiPluginSendersPluginPlaylistSenderRemoveTracks( that: this, mpscTx: mpscTx, playlistId: playlistId, trackIds: trackIds); Future save( {required OpaqueSender mpscTx, required String playlistId}) => RustLib.instance.api.crateApiPluginSendersPluginPlaylistSenderSave( that: this, mpscTx: mpscTx, playlistId: playlistId); Future tracks( {required OpaqueSender mpscTx, required String id, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginPlaylistSenderTracks( that: this, mpscTx: mpscTx, id: id, offset: offset, limit: limit); Future unsave( {required OpaqueSender mpscTx, required String playlistId}) => RustLib.instance.api.crateApiPluginSendersPluginPlaylistSenderUnsave( that: this, mpscTx: mpscTx, playlistId: playlistId); Future updatePlaylist( {required OpaqueSender mpscTx, required String playlistId, String? name, String? description, bool? public, bool? collaborative}) => RustLib.instance.api .crateApiPluginSendersPluginPlaylistSenderUpdatePlaylist( that: this, mpscTx: mpscTx, playlistId: playlistId, name: name, description: description, public: public, collaborative: collaborative); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginPlaylistSender && runtimeType == other.runtimeType; } class PluginSearchSender { const PluginSearchSender(); Future albums( {required OpaqueSender mpscTx, required String query, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginSearchSenderAlbums( that: this, mpscTx: mpscTx, query: query, offset: offset, limit: limit); Future all( {required OpaqueSender mpscTx, required String query}) => RustLib.instance.api.crateApiPluginSendersPluginSearchSenderAll( that: this, mpscTx: mpscTx, query: query); Future artists( {required OpaqueSender mpscTx, required String query, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginSearchSenderArtists( that: this, mpscTx: mpscTx, query: query, offset: offset, limit: limit); Future> chips({required OpaqueSender mpscTx}) => RustLib .instance.api .crateApiPluginSendersPluginSearchSenderChips(that: this, mpscTx: mpscTx); Future playlists( {required OpaqueSender mpscTx, required String query, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginSearchSenderPlaylists( that: this, mpscTx: mpscTx, query: query, offset: offset, limit: limit); Future tracks( {required OpaqueSender mpscTx, required String query, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginSearchSenderTracks( that: this, mpscTx: mpscTx, query: query, offset: offset, limit: limit); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginSearchSender && runtimeType == other.runtimeType; } class PluginTrackSender { const PluginTrackSender(); Future getTrack( {required OpaqueSender mpscTx, required String id}) => RustLib.instance.api.crateApiPluginSendersPluginTrackSenderGetTrack( that: this, mpscTx: mpscTx, id: id); Future> radio( {required OpaqueSender mpscTx, required String id}) => RustLib.instance.api.crateApiPluginSendersPluginTrackSenderRadio( that: this, mpscTx: mpscTx, id: id); Future save( {required OpaqueSender mpscTx, required List ids}) => RustLib.instance.api.crateApiPluginSendersPluginTrackSenderSave( that: this, mpscTx: mpscTx, ids: ids); Future unsave( {required OpaqueSender mpscTx, required List ids}) => RustLib.instance.api.crateApiPluginSendersPluginTrackSenderUnsave( that: this, mpscTx: mpscTx, ids: ids); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginTrackSender && runtimeType == other.runtimeType; } class PluginUserSender { const PluginUserSender(); Future me({required OpaqueSender mpscTx}) => RustLib.instance.api .crateApiPluginSendersPluginUserSenderMe(that: this, mpscTx: mpscTx); Future savedAlbums( {required OpaqueSender mpscTx, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginUserSenderSavedAlbums( that: this, mpscTx: mpscTx, offset: offset, limit: limit); Future savedArtists( {required OpaqueSender mpscTx, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginUserSenderSavedArtists( that: this, mpscTx: mpscTx, offset: offset, limit: limit); Future savedPlaylists( {required OpaqueSender mpscTx, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginUserSenderSavedPlaylists( that: this, mpscTx: mpscTx, offset: offset, limit: limit); Future savedTracks( {required OpaqueSender mpscTx, int? offset, int? limit}) => RustLib.instance.api.crateApiPluginSendersPluginUserSenderSavedTracks( that: this, mpscTx: mpscTx, offset: offset, limit: limit); @override int get hashCode => 0; @override bool operator ==(Object other) => identical(this, other) || other is PluginUserSender && runtimeType == other.runtimeType; }