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