CustomTagType class

Whenever a tag matching the name of the CustomTagType is triggered, the handler is executed. The name property must match the tagType value of the CustomTag set in the Gtm container.

Constructors

CustomTagType(String name, {required dynamic handler(String eventName, Map<String, dynamic>? parameters)})

Properties

handler → dynamic Function(String eventName, Map<String, dynamic>? parameters)
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
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
toString() String
A string representation of this object.
inherited

Operators

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