Hook class Null safety

Model class for a repository hook.

Annotations

Constructors

Hook({int? id, String? name})
Hook.fromJson(Map<String, dynamic> input)
factory

Properties

active bool?
If the hook is active
read / write
config HookConfig?
read / write
contentType String?
Content Type
read-only
createdAt DateTime?
The time the hook was created
read / write
events List<String>?
Events to Subscribe to
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
read / write
name String?
read / write
repoName String?
The Repository Name
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime?
The last time the hook was updated
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