InviteMessage class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

InviteMessage({bool canBeUpdated = true, required String id, required String message, required InviteMessageType messageType, int remainingCooldownMinutes = 0, required int slot, required DateTime updatedAt})
Returns a new InviteMessage instance.
InviteMessage.fromJson(Map<String, dynamic> json)
factory

Properties

canBeUpdated bool
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
message String
final
messageType InviteMessageType
final
remainingCooldownMinutes int
Changes to 60 when updated, although probably server-side configurable.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot int
final
updatedAt DateTime
final

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