PerlearnerUserListData class

Constructors

PerlearnerUserListData({required String username, required String fullName, required int enrollments, required int completions, required String lastActive, required String timeSpent, required double engagementIndex, required double performanceIndex})
Returns a new PerlearnerUserListData instance.

Properties

completions int
Total completions
getter/setter pair
engagementIndex double
Engagement index
getter/setter pair
enrollments int
Total enrollments
getter/setter pair
fullName String
learner Name
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
lastActive String
Last active time
getter/setter pair
performanceIndex double
Performance index
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeSpent String
Time spent formatted in seconds
getter/setter pair
username String
learner username
getter/setter pair

Methods

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.
override

Operators

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

Static Methods

fromJson(dynamic value) PerlearnerUserListData?
Returns a new PerlearnerUserListData instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<PerlearnerUserListData>
mapFromJson(dynamic json) Map<String, PerlearnerUserListData>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<PerlearnerUserListData>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.