Macro class

Represents a Google Tag Manager Macro.

Constructors

Macro({String? accountId, String? containerId, List<String>? disablingRuleId, List<String>? enablingRuleId, String? fingerprint, String? macroId, String? name, String? notes, List<Parameter>? parameter, String? parentFolderId, String? scheduleEndMs, String? scheduleStartMs, String? type})
Macro.fromJson(Map json_)

Properties

accountId String?
GTM Account ID.
getter/setter pair
containerId String?
GTM Container ID.
getter/setter pair
disablingRuleId List<String>?
For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false.
getter/setter pair
enablingRuleId List<String>?
For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false.
getter/setter pair
fingerprint String?
The fingerprint of the GTM Macro as computed at storage time.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
macroId String?
The Macro ID uniquely identifies the GTM Macro.
getter/setter pair
name String?
Macro display name.
getter/setter pair
notes String?
User notes on how to apply this macro in the container.
getter/setter pair
parameter List<Parameter>?
The macro's parameters.
getter/setter pair
parentFolderId String?
Parent folder id.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduleEndMs String?
The end timestamp in milliseconds to schedule a macro.
getter/setter pair
scheduleStartMs String?
The start timestamp in milliseconds to schedule a macro.
getter/setter pair
type String?
GTM Macro Type.
getter/setter pair

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