Comment class

Annotations
  • @JsonSerializable()

Constructors

Comment({required String by, required int id, required List<int> kids, required int parent, required String text, required DateTime time, required ItemType type})
Comment.fromJson(Map<String, dynamic> json)
factory

Properties

by String
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
kids List<int>
final
parent int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final
time DateTime
final
type ItemType
final

Methods

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

Operators

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