Base constructor
Implementation
Base(Map<String, dynamic> config)
: config = Map.unmodifiable(config),
x = toDouble(config['x']) ?? 0,
y = toDouble(config['y']) ?? 0,
width = toDouble(config['width']) ?? 0,
height = toDouble(config['height']) ?? 0;