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