ApiKeyModel class

Class that defines the API key entity, which contains its properties and methods.

Constructors

ApiKeyModel({required String name, required String key, required String serviceType, bool isDefault = false})
ApiKeyModel.fromMap(Map<String, dynamic> map)
Returns a ApiKeyModel from the given map.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDefault → bool
Property that defines if the API key is the default one.
final
key → String
Property that defines the API key key.
final
name → String
Property that defines the API key name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceType → String
Property that defines the API key serviceType.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Returns a Map from the current ApiKeyModel.
toString() → String
A string representation of this object.
inherited

Operators

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