Key class
Key
Constructors
-
Key.new({required String $id, required String $createdAt, required String $updatedAt, required String name, required String secret, required int expire, required List<
String> platforms, required String userId, required String teamId, required String key, required int registration}) -
Key.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
Key creation date in ISO 8601 format.
final
- $id → String
-
Key ID.
final
- $updatedAt → String
-
Key update date in ISO 8601 format.
final
- expire → int
-
Key expiration date in Unix timestamp.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
Key key.
final
- name → String
-
Key name.
final
-
platforms
→ List<
String> -
Key platforms.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- registration → int
-
Key registration date in Unix timestamp.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String
-
Key secret.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - teamId → String
-
Key team identifier.
final
- userId → String
-
Key user identifier.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited