Reaction class

This API is currently in preview. It may break.

See https://developer.github.com/v3/reactions/

Annotations
  • @JsonSerializable()

Constructors

Reaction({int? id, String? nodeId, User? user, String? content, DateTime? createdAt})
Reaction.fromJson(Map<String, dynamic> json)
factory

Properties

content String?
final
createdAt DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
nodeId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ReactionType?
no setter
user User?
final

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