SubscribeReq class
Constructors
-
SubscribeReq({String? channel, List<
String> events = const [], String? name}) - Returns a new SubscribeReq instance.
Properties
- channel ↔ String?
-
Channel is the Slack channel the notifier posts to — an id (C…/G…), a #name, or a bare name. Required.
getter/setter pair
-
events
↔ List<
String> -
Events narrows delivery to these lifecycle kinds (push.landed, deploy.live, deploy.failed). Omit it to receive every deliverable kind; a kind that is never posted to Slack is refused rather than silently dropped.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- name ↔ String?
-
Name is the repo to subscribe, from the :name path segment.
getter/setter pair
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → SubscribeReq? -
Returns a new SubscribeReq instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< SubscribeReq> -
mapFromJson(
dynamic json) → Map< String, SubscribeReq> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< SubscribeReq> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.