fromDynamic static method
Creates an instance from a JSON-like map structure. This expects the following format:
{
"height": <double>,
"width": <double>
}
Implementation
static AssertWindowSizeStep fromDynamic(dynamic map) {
AssertWindowSizeStep result;
if (map == null) {
throw Exception('[AssertWindowSizeStep.fromDynamic]: map is null');
} else {
result = AssertWindowSizeStep(
height: map['height']!.toString(),
width: map['width']!.toString(),
);
}
return result;
}