Answer class

Represents an answer to a question

Constructors

Answer({Author? author, String? createTime, String? name, String? text, String? updateTime, int? upvoteCount})
Answer.fromJson(Map json_)

Properties

author Author?
The author of the answer.
getter/setter pair
createTime String?
The timestamp for when the answer was written.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The unique name for the answer locations / * /questions / * /answers / *
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The text of the answer.
getter/setter pair
updateTime String?
The timestamp for when the answer was last modified.
getter/setter pair
upvoteCount int?
The number of upvotes for the answer.
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.
inherited

Operators

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