fromDynamic static method
Creates an instance from a JSON-like map structure. This expects the following format:
{
"testableId": <String>,
"timeout": <number>
}
See also:
JsonClass.parseDurationFromSeconds
Implementation
static DoubleTapStep? fromDynamic(dynamic map) {
DoubleTapStep? result;
if (map != null) {
result = DoubleTapStep(
testableId: map['testableId']!,
timeout: JsonClass.parseDurationFromSeconds(map['timeout']),
);
}
return result;
}