fromDynamic static method
Creates an instance from a JSON-like map structure. This expects the following format:
{
"counterVariableName": <String>,
"maxIterations": <number>,
"step": <TestStep>,
"value": <String>,
"variableName": <String>
}
See also:
TestStep.fromDynamic
Implementation
static RepeatUntilStep? fromDynamic(dynamic map) {
RepeatUntilStep? result;
if (map != null) {
result = RepeatUntilStep(
counterVariableName: map['counterVariableName'],
maxIterations: map['maxIterations'],
step: map['step'],
value: map['value']?.toString(),
variableName: map['variableName'],
);
}
return result;
}