mapPosition static method
Implementation
static PositionPolicy mapPosition(String? json) {
switch (json) {
case 'Ask':
return PositionPolicy.ask;
case 'Require':
return PositionPolicy.require;
default:
return PositionPolicy.none;
}
}