parsePosition static method
Implementation
static PaywallPosition? parsePosition(Object? source) {
if (source is! Map || source.isEmpty) return null;
return PaywallPosition(
left: parseDouble(source['left']),
right: parseDouble(source['right']),
top: parseDouble(source['top']),
bottom: parseDouble(source['bottom']),
width: parseDouble(source['width']),
height: parseDouble(source['height']),
);
}