InputTransformer class
Contains the parameters needed for you to provide custom input to a target based on one or more pieces of data extracted from the event.
Constructors
-
InputTransformer({required String inputTemplate, Map<
String, String> ? inputPathsMap}) -
InputTransformer.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputPathsMap
→ Map<
String, String> ? -
Map of JSON paths to be extracted from the event. You can then insert these
in the template in
InputTemplate
to produce the output you want to be sent to the target.final - inputTemplate → String
-
Input template where you specify placeholders that will be filled with the
values of the keys from
InputPathsMap
to customize the data sent to the target. Enclose eachInputPathsMaps
value in brackets: <value> The InputTemplate must be valid JSON.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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited