Tag class Null safety

Represents a Google Tag Manager Tag.


Tag({String? accountId, List<String>? blockingRuleId, List<String>? blockingTriggerId, String? containerId, String? fingerprint, List<String>? firingRuleId, List<String>? firingTriggerId, bool? liveOnly, String? name, String? notes, List<Parameter>? parameter, String? parentFolderId, bool? paused, Parameter? priority, String? scheduleEndMs, String? scheduleStartMs, List<SetupTag>? setupTag, String? tagFiringOption, String? tagId, List<TeardownTag>? teardownTag, String? type})
Tag.fromJson(Map json_)


accountId String?
GTM Account ID.
read / write
blockingRuleId List<String>?
Blocking rule IDs.
read / write
blockingTriggerId List<String>?
Blocking trigger IDs.
read / write
containerId String?
GTM Container ID.
read / write
fingerprint String?
The fingerprint of the GTM Tag as computed at storage time.
read / write
firingRuleId List<String>?
Firing rule IDs.
read / write
firingTriggerId List<String>?
Firing trigger IDs.
read / write
hashCode int
The hash code for this object.
liveOnly bool?
If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
read / write
name String?
Tag display name.
read / write
notes String?
User notes on how to apply this tag in the container.
read / write
parameter List<Parameter>?
The tag's parameters.
read / write
parentFolderId String?
Parent folder id.
read / write
paused bool?
True if the tag is paused.
read / write
priority Parameter?
User defined numeric priority of the tag.
read / write
runtimeType Type
A representation of the runtime type of the object.
scheduleEndMs String?
The end timestamp in milliseconds to schedule a tag.
read / write
scheduleStartMs String?
The start timestamp in milliseconds to schedule a tag.
read / write
setupTag List<SetupTag>?
The list of setup tags.
read / write
tagFiringOption String?
Option to fire this tag. Possible string values are:
read / write
tagId String?
The Tag ID uniquely identifies the GTM Tag.
read / write
teardownTag List<TeardownTag>?
The list of teardown tags.
read / write
type String?
GTM Tag Type.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.