BotApiObject class

This class represents an API object in the bot.

Inheritance

Constructors

BotApiObject.new({required String url, required String method, required Map<String, dynamic> header, required String body})
BotApiObject.fromJson(Map json)
create a new object from json representation.

Properties

body String
the body of this api. if you .
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
the header of this api.
getter/setter pair
method String
the method of this api. this can be either get or post.
getter/setter pair
objectType BotObjectType
getter/setter pairoverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
the url of this api.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
convert this object to json representation.
override
toString() String
A string representation of this object.
inherited

Operators

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