Session class

Constructors

Session({String? company, String? username, List<String>? supervisors, List<String>? subordinates, List<Permission>? permissions})
Session.fromJson(String str)
factory
Session.fromMap(Map<String, dynamic> json)
factory

Properties

company String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
permissions List<Permission>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subordinates List<String>?
getter/setter pair
supervisors List<String>?
getter/setter pair
username String?
getter/setter pair

Methods

copyWith({String? company, String? username, List<String>? supervisors, List<String>? subordinates, List<Permission>? permissions}) Session
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited