Reaction class Null safety

This API is currently in preview. It may break.

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

Annotations

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. [...]
read-only, inherited
id int?
final
nodeId String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ReactionType?
read-only
user User?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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