parseOffset function
Implementation
Offset? parseOffset(Control control, String propName, [Offset? defaultValue]) {
var v = control.attrString(propName, null);
if (v == null) {
return defaultValue;
}
final j1 = json.decode(v);
return offsetFromJSON(j1, defaultValue);
}