NUIMiniProgramSession class

Session data model for any session information for the mini program

Constructors

NUIMiniProgramSession({required String sessionId, required String userId, required String displayName, required List<String> roles, Map<String, dynamic>? metadata})
NUIMiniProgramSession.empty()

Properties

displayName String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, dynamic>?
getter/setter pair
roles List<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
getter/setter pair
userId String
getter/setter pair

Methods

fromJson(Map<String, dynamic> json) NUIMiniProgramSession
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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