MmTeamMember class

Constructors

MmTeamMember({String? teamId, String? userId, String? roles, int? deleteAt, bool? schemeUser, bool? schemeAdmin, String? explicitRoles})
Returns a new MmTeamMember instance.

Properties

deleteAt int?
The time in milliseconds that this team member was deleted.
getter/setter pair
explicitRoles String?
The list of roles explicitly assigned to this team member, as a space separated list of role names. This list does not include any roles granted implicitly through permissions schemes.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
roles String?
The complete list of roles assigned to this team member, as a space-separated list of role names, including any roles granted implicitly through permissions schemes.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemeAdmin bool?
Whether this team member holds the default admin role defined by the team's permissions scheme.
getter/setter pair
schemeUser bool?
Whether this team member holds the default user role defined by the team's permissions scheme.
getter/setter pair
teamId String?
The ID of the team this member belongs to.
getter/setter pair
userId String?
The ID of the user this member relates to.
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) MmTeamMember?
Returns a new MmTeamMember instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<MmTeamMember>?
mapFromJson(dynamic json) Map<String, MmTeamMember>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<MmTeamMember>>

Constants

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