Macro class Null safety

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.
read / write
containerId String?
GTM Container ID.
read / write
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.
read / write
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.
read / write
fingerprint String?
The fingerprint of the GTM Macro as computed at storage time.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
macroId String?
The Macro ID uniquely identifies the GTM Macro.
read / write
name String?
Macro display name.
read / write
notes String?
User notes on how to apply this macro in the container.
read / write
parameter List<Parameter>?
The macro's parameters.
read / write
parentFolderId String?
Parent folder id.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scheduleEndMs String?
The end timestamp in milliseconds to schedule a macro.
read / write
scheduleStartMs String?
The start timestamp in milliseconds to schedule a macro.
read / write
type String?
GTM Macro Type.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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