Event class

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?
getter/setter pair
createdAt ↔ DateTime?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
getter/setter pair
org ↔ Organization?
getter/setter pair
payload ↔ Map<String, dynamic>?
getter/setter pair
repo ↔ Repository?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
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