Team class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
Team({String? icon, required int id, required List<
TeamMember> members, required String name, required String ownerUserId}) - Constructor
-
Team.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
a hash of the image of the team's icon
final
- id → int
-
the unique id of the team
final
-
members
→ List<
TeamMember> -
the members of the team
final
- name → String
-
the name of the team
final
- ownerUserId → String
-
the user id of the current team owner
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited