fromDynamic static method
Creates an instance from a JSON-like map structure. This expects the following format:
{
"input": <String>,
"regEx": <String>,
"variableName": <String>
}
Implementation
static SubstringVariableStep fromDynamic(dynamic map) {
SubstringVariableStep result;
if (map == null) {
throw Exception('[SubstringVariableStep.fromDynamic]: map is null');
} else {
result = SubstringVariableStep(
input: map['input'],
regEx: map['regEx'],
variableName: map['variableName'],
);
}
return result;
}