part of '../auth.dart';

@freezed
class Login with _$Login {
  const factory Login({
    required String token,
    required String refreshToken,
    required String expiresAt,
    required String refreshExpiresAt,
    required User user,
  }) = _Login;

  factory Login.empty() => Login(
    token: '',
    refreshToken: '',
    expiresAt: '',
    refreshExpiresAt: '',
    user: User.empty(),
  );
}
