OrgIntegration class abstract

Available extensions
Annotations

Constructors

OrgIntegration({required String id, required String orgId, required OrgIntegrationProvider provider, required OrgIntegrationStatus status, String? teamId, String? teamName, String? connectedUserId, required List<String> scopes, required Map<String, dynamic> config, DateTime? lastVerifiedAt, String? lastError, required String installedBy, required DateTime installedAt, required DateTime updatedAt, DateTime? tokenExpiresAt, required bool hasCustomClient})
const
factory

Properties

config → Map<String, dynamic>
no setterinherited
connectedUserId → String?
no setterinherited
copyWith → $OrgIntegrationCopyWith<OrgIntegration>
Create a copy of OrgIntegration with the given fields replaced by the non-null parameter values.
no setterinherited
hasCustomClient → bool
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setterinherited
installedAt → DateTime
no setterinherited
installedBy → String
no setterinherited
isConnected → bool
no setter
isDisconnected → bool
no setter
lastError → String?
no setterinherited
lastVerifiedAt → DateTime?
no setterinherited
needsAttention → bool
no setter
orgId → String
no setterinherited
provider → OrgIntegrationProvider
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → List<String>
no setterinherited
status → OrgIntegrationStatus
no setterinherited
teamId → String?
no setterinherited
teamName → String?
no setterinherited
tokenExpiresAt → DateTime?
no setterinherited
updatedAt → DateTime
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_OrgIntegration value)) → TResult

Available on OrgIntegration, provided by the OrgIntegrationPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_OrgIntegration value)?) → TResult?

Available on OrgIntegration, provided by the OrgIntegrationPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_OrgIntegration value)?, {required TResult orElse()}) → TResult

Available on OrgIntegration, provided by the OrgIntegrationPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(String id, String orgId, OrgIntegrationProvider provider, OrgIntegrationStatus status, String? teamId, String? teamName, String? connectedUserId, List<String> scopes, Map<String, dynamic> config, DateTime? lastVerifiedAt, String? lastError, String installedBy, DateTime installedAt, DateTime updatedAt, DateTime? tokenExpiresAt, bool hasCustomClient)?, {required TResult orElse()}) → TResult

Available on OrgIntegration, provided by the OrgIntegrationPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(String id, String orgId, OrgIntegrationProvider provider, OrgIntegrationStatus status, String? teamId, String? teamName, String? connectedUserId, List<String> scopes, Map<String, dynamic> config, DateTime? lastVerifiedAt, String? lastError, String installedBy, DateTime installedAt, DateTime updatedAt, DateTime? tokenExpiresAt, bool hasCustomClient)) → TResult

Available on OrgIntegration, provided by the OrgIntegrationPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(String id, String orgId, OrgIntegrationProvider provider, OrgIntegrationStatus status, String? teamId, String? teamName, String? connectedUserId, List<String> scopes, Map<String, dynamic> config, DateTime? lastVerifiedAt, String? lastError, String installedBy, DateTime installedAt, DateTime updatedAt, DateTime? tokenExpiresAt, bool hasCustomClient)?) → TResult?

Available on OrgIntegration, provided by the OrgIntegrationPatterns extension

A variant of when that fallback to returning null

Operators

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