menu
hordev2 package
documentation
api_model
Api class
Api
brightness_4
Api
class
Null safety
Inheritance
Object
BaseModel
Api
Constructors
Api
(
{
String
?
apiKey
,
String
?
apiSecret
,
dynamic
refreshDate
,
String
?
token
}
)
Api.fromJson
(
Map
<
String
,
dynamic
>
json
)
Properties
apiKey
↔
String
?
read / write
apiSecret
↔
String
?
read / write
hashCode
→
int
The hash code for this object.
read-only
inherited
refreshDate
↔ dynamic
read / write
runtimeType
→
Type
A representation of the runtime type of the object.
read-only
inherited
token
↔
String
?
read / write
Methods
fromJson
(
Map
<
String
,
dynamic
>
json
)
→
Api
override
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson
(
)
→
Map
<
String
,
dynamic
>
override
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
hordev2 package
documentation
api_model
Api class
api_model library
Classes
Api
Constructors
Api
fromJson
Properties
apiKey
apiSecret
hashCode
refreshDate
runtimeType
token
Methods
fromJson
noSuchMethod
toJson
toString
Operators
operator ==