CreateHook class

Model class for a new hook to be created.

Annotations

Constructors

CreateHook(String? name, HookConfig? config, {List<String>? events = const ['push'], bool? active = true})
CreateHook.fromJson(Map<String, dynamic> input)
factory

Properties

active → bool?
If the Hook should be active.
final
config → HookConfig?
Hook Configuration
final
events → List<String>?
Events to Subscribe to
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
Hook Name
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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