OrgIntegrationModel class abstract
- Available extensions
- Annotations
Constructors
-
OrgIntegrationModel({required String id, required String orgId, required String provider, required String status, String? teamId, String? teamName, String? connectedUserId, @JsonKey(fromJson: _castStringList) required List<
String> scopes, @JsonKey(fromJson: _castMap) required Map<String, dynamic> config, DateTime? lastVerifiedAt, String? lastError, required String installedBy, required DateTime installedAt, required DateTime updatedAt, DateTime? tokenExpiresAt, required bool hasCustomClient}) -
constfactory
- OrgIntegrationModel.fromEntity(OrgIntegration entity)
-
factory
-
OrgIntegrationModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
config
→ Map<
String, dynamic> -
no setterinherited
- connectedUserId → String?
-
no setterinherited
-
copyWith
→ $OrgIntegrationModelCopyWith<
OrgIntegrationModel> -
Create a copy of OrgIntegrationModel
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
- lastError → String?
-
no setterinherited
- lastVerifiedAt → DateTime?
-
no setterinherited
- orgId → String
-
no setterinherited
- provider → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> -
no setterinherited
- status → String
-
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(_OrgIntegrationModel value)) → TResult -
Available on OrgIntegrationModel, provided by the OrgIntegrationModelPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_OrgIntegrationModel value)?) → TResult? -
Available on OrgIntegrationModel, provided by the OrgIntegrationModelPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_OrgIntegrationModel value)?, {required TResult orElse()}) → TResult -
Available on OrgIntegrationModel, provided by the OrgIntegrationModelPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String id, String orgId, String provider, String 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 OrgIntegrationModel, provided by the OrgIntegrationModelPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
) → OrgIntegration -
toJson(
) → Map< String, dynamic> -
Serializes this OrgIntegrationModel to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String id, String orgId, String provider, String 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 OrgIntegrationModel, provided by the OrgIntegrationModelPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String id, String orgId, String provider, String 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 OrgIntegrationModel, provided by the OrgIntegrationModelPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited