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