2024-07-29 22:18:54 +00:00
|
|
|
part of 'tokens_bloc.dart';
|
|
|
|
|
|
|
|
sealed class TokensEvent extends Equatable {
|
|
|
|
const TokensEvent();
|
|
|
|
}
|
|
|
|
|
|
|
|
class RevalidateTokens extends TokensEvent {
|
|
|
|
const RevalidateTokens();
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object> get props => [];
|
|
|
|
}
|
2024-07-30 15:22:32 +00:00
|
|
|
|
|
|
|
class AddServerProviderToken extends TokensEvent {
|
|
|
|
const AddServerProviderToken(this.serverProviderCredential);
|
|
|
|
|
|
|
|
final ServerProviderCredential serverProviderCredential;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object> get props => [serverProviderCredential];
|
|
|
|
}
|
|
|
|
|
|
|
|
class ServerSelectedForProviderToken extends TokensEvent {
|
|
|
|
const ServerSelectedForProviderToken(
|
|
|
|
this.providerServer,
|
|
|
|
this.server,
|
|
|
|
this.serverProviderCredential,
|
|
|
|
);
|
|
|
|
|
|
|
|
final ServerBasicInfoWithValidators providerServer;
|
|
|
|
final Server server;
|
|
|
|
final ServerProviderCredential serverProviderCredential;
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object> get props => [providerServer, server, serverProviderCredential];
|
|
|
|
}
|