selfprivacy.org.app/lib/logic/bloc/tokens/tokens_event.dart

37 lines
880 B
Dart

part of 'tokens_bloc.dart';
sealed class TokensEvent extends Equatable {
const TokensEvent();
}
class RevalidateTokens extends TokensEvent {
const RevalidateTokens();
@override
List<Object> get props => [];
}
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];
}