Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
session_entity.dart
Go to the documentation of this file.
1import 'package:equatable/equatable.dart';
2
3class SessionEntity extends Equatable {
4 final int? id;
5 final String? jsonrpc;
7 final String? db;
8 final bool? isAdmin;
9 final bool? isSystem;
10 final String? name;
12 final int? statusCode;
14 final int? uid;
17 final String? token;
18 final String? role;
19
21 this.id,
22 this.jsonrpc,
23 this.processType,
24 this.db,
25 this.isAdmin,
26 this.isSystem,
27 this.name,
28 this.partnerId,
29 this.statusCode,
30 this.supportUrl,
31 this.uid,
32 this.userContext,
33 this.username,
34 this.token,
35 this.role,
36 });
37
38 @override
39 List<Object?> get props => [
40 id,
55 ];
56}
57
58class UserContext extends Equatable {
59 final String? lang;
60 final String? tz;
61 final int? uid;
62
64 this.lang,
65 this.tz,
66 this.uid,
67 });
68
69 @override
70 List<Object?> get props => [lang, tz, uid];
71}
final String role
final UserContext userContext
final bool isSystem
final int statusCode
const SessionEntity({ this.id, this.jsonrpc, this.processType, this.db, this.isAdmin, this.isSystem, this.name, this.partnerId, this.statusCode, this.supportUrl, this.uid, this.userContext, this.username, this.token, this.role, })
final String name
final String supportUrl
final int uid
final String username
final String jsonrpc
final String partnerId
final String processType
final bool isAdmin
final String db
final String token
class Partner String
String get(String locale)
const UserContext({ this.lang, this.tz, this.uid, })
class SessionEntity extends Equatable lang
final String tz
final int uid
abstract class UseCase< Type, Params > props