NotificationTemplate class
- Annotations
-
- @JsonSerializable()
Constructors
-
NotificationTemplate.new({required String id, required String name, String? description, required String notificationGroupId, String? parentId, required String environmentId, required List<
String> tags, bool? draft, required bool active, required bool critical, required PreferenceChannel preferenceSettings, DateTime? createdAt, DateTime? updatedAt, required List<NotificationStep> steps, required List<NotificationTrigger> triggers, bool? isBlueprint, String? blueprintId, WorkflowType? type, Map<String, dynamic> ? payloadSchema, Map<String, dynamic> ? rawData, Map<String, dynamic> ? data}) -
NotificationTemplate.fromJson(Map<
String, dynamic> json) -
factory
Properties
- active ↔ bool
-
latefinal
- blueprintId → String?
-
final
- createdAt → DateTime?
-
final
- critical ↔ bool
-
latefinal
-
data
→ Map<
String, dynamic> ? -
final
- description → String?
-
final
- draft → bool?
-
final
- environmentId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isBlueprint → bool?
-
final
- name ↔ String
-
latefinal
- notificationGroupId ↔ String
-
latefinal
- parentId → String?
-
final
-
payloadSchema
→ Map<
String, dynamic> ? -
final
- preferenceSettings ↔ PreferenceChannel
-
latefinal
-
rawData
→ Map<
String, dynamic> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
steps
→ List<
NotificationStep> -
final
-
latefinal
-
triggers
↔ List<
NotificationTrigger> -
latefinal
- type → WorkflowType?
-
final
- updatedAt → DateTime?
-
final
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