Team class

Constructors

Team.new({required String? icon, required Snowflake id, required List<TeamMember> members, required String name, required Snowflake ownerUserId})
Team.decode(Map<String, dynamic> js)
factory
Team.fromJson(String js)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String?
getter/setter pair
id Snowflake
getter/setter pair
members List<TeamMember>
getter/setter pair
name String
getter/setter pair
ownerUserId Snowflake
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() String
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