OwlBotDefinition class
An object the serializes the JSON definitions returned by owlbot API
Constructors
-
OwlBotDefinition.fromJson(Map<
String, dynamic> json) -
Create a OwlBotDefinition object from json returned by the API
factory
Properties
- definition ↔ String?
-
Definition or the meaning for the
word
getter/setter pair - emoji ↔ String?
-
Emoji url for the
word
, can be nullgetter/setter pair - example ↔ String?
-
Example usage
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUrl ↔ String?
-
Image url for the word, can be null
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
type of the
word
for which the definition is received type can be "noun", "verb", ...getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a Map<String,dynamic> from OwlBotDefinition object
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited