Event class Null safety

Model class for an event.

Annotations

Constructors

Event({String? id, String? type, Repository? repo, User? actor, Organization? org, Map<String, dynamic>? payload, DateTime? createdAt})
Event.fromJson(Map<String, dynamic> input)
factory

Properties

actor User?
read / write
createdAt DateTime?
@JsonKey(name: 'created_at'), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
read / write
org Organization?
read / write
payload Map<String, dynamic>?
read / write
repo Repository?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String?
read / write

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