BotCreate class

Constructors

BotCreate({required int id, required String name, required String clientId, required String clientSecret, required String appToken, required String verificationToken, required ProviderEnum provider, Object? config})
Returns a new BotCreate instance.

Properties

appToken String
getter/setter pair
clientId String
getter/setter pair
clientSecret String
getter/setter pair
config Object?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id int
getter/setter pair
name String
getter/setter pair
provider ProviderEnum
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verificationToken String
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) BotCreate?
Returns a new BotCreate instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<BotCreate>
mapFromJson(dynamic json) Map<String, BotCreate>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<BotCreate>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.