Invitation class

An invitation link to the network or to one channel.

Constructors

Invitation({required String share_id, required String? channel, required String url, required String? created, required int redeemed, required String? description})
const
Invitation.fromJson(Map<String, dynamic> json)
factory

Properties

channel → String?
The channel it joins, or nothing when it invites to the network.
final
created → String?
When it was made, as the server spells it.
final
description → String?
What it is for.
final
hashCode → int
The hash code for this object.
no setterinherited
redeemed → int
How many people have used it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
share_id → String
The identifier used to delete it.
final
url → String
The link itself.
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.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited