mirror of
https://github.com/zoriya/Aeris.git
synced 2025-12-06 06:36:12 +00:00
29 lines
739 B
Dart
29 lines
739 B
Dart
// Class for a service related to a user (Youtube, Gmail, ...)
|
|
import 'package:aeris/src/models/service.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
class UserService {
|
|
/// Service name related to the user
|
|
final Service serviceProvider;
|
|
|
|
/// Id of an user for this service
|
|
final String serviceAccountId;
|
|
|
|
/// Account Username
|
|
final String accountUsername;
|
|
|
|
/// Account Slug for this Service
|
|
final String accountSlug;
|
|
|
|
/// Account External Token for this Service
|
|
final String userExternalToken;
|
|
|
|
UserService(
|
|
{Key? key,
|
|
required this.serviceAccountId,
|
|
required this.accountUsername,
|
|
required this.accountSlug,
|
|
required this.userExternalToken,
|
|
required this.serviceProvider});
|
|
}
|