Integration class

Constructors

Integration({required String id, required String name, required String type, required bool enabled, bool? syncing, String? roleId, bool? enabledEmoticons, int? expireBehaviour, int? expireGracePeriod, User? user, Account? account, String? syncedAt, int? subscriberCount, bool? revoked, IntegrationApplication? application})

Properties

account Account?
final
application IntegrationApplication?
final
enabled bool
final
enabledEmoticons bool?
final
expireBehaviour int?
final
expireGracePeriod int?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
revoked bool?
final
roleId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriberCount int?
final
syncedAt String?
final
syncing bool?
final
type String
final
user User?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) Integration