OrgApiKey class abstract
- Available extensions
- Annotations
Constructors
Properties
-
copyWith
→ $OrgApiKeyCopyWith<
OrgApiKey> -
Create a copy of OrgApiKey
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime
-
no setterinherited
- createdBy → String
-
no setterinherited
- expiresAt → DateTime?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- isActive → bool
-
no setter
- isExpired → bool
-
no setter
- isRevoked → bool
-
no setter
- keyPrefix → String
-
no setterinherited
- lastUsedAt → DateTime?
-
no setterinherited
- name → String
-
no setterinherited
- orgId → String
-
no setterinherited
- revokedAt → DateTime?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> -
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_OrgApiKey value)) → TResult -
Available on OrgApiKey, provided by the OrgApiKeyPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_OrgApiKey value)?) → TResult? -
Available on OrgApiKey, provided by the OrgApiKeyPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_OrgApiKey value)?, {required TResult orElse()}) → TResult -
Available on OrgApiKey, provided by the OrgApiKeyPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String id, String orgId, String name, String keyPrefix, List< String> scopes, DateTime? expiresAt, DateTime? lastUsedAt, String createdBy, DateTime createdAt, DateTime? revokedAt)?, {required TResult orElse()}) → TResult -
Available on OrgApiKey, provided by the OrgApiKeyPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
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, String name, String keyPrefix, List< String> scopes, DateTime? expiresAt, DateTime? lastUsedAt, String createdBy, DateTime createdAt, DateTime? revokedAt)) → TResult -
Available on OrgApiKey, provided by the OrgApiKeyPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String id, String orgId, String name, String keyPrefix, List< String> scopes, DateTime? expiresAt, DateTime? lastUsedAt, String createdBy, DateTime createdAt, DateTime? revokedAt)?) → TResult? -
Available on OrgApiKey, provided by the OrgApiKeyPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited