SubscriptionView class
Constructors
-
SubscriptionView({String? channel, String? createdAt, List<
String> events = const [], String? id, String? repo}) - Returns a new SubscriptionView instance.
Properties
- channel ↔ String?
-
Channel is the Slack channel id or name the notifier posts to.
getter/setter pair
- createdAt ↔ String?
-
CreatedAt is RFC 3339 UTC.
getter/setter pair
-
events
↔ List<
String> -
Events is the kind filter; absent means every deliverable kind.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
ID is the subscription's identifier ("sub_…"), the handle to delete it by.
getter/setter pair
- repo ↔ String?
-
Repo is the repo whose lifecycle events are delivered.
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) → SubscriptionView? -
Returns a new SubscriptionView instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< SubscriptionView> -
mapFromJson(
dynamic json) → Map< String, SubscriptionView> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< SubscriptionView> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.