factory PDimension.fromJson(Map<String, dynamic> j) => PDimension(parseNum(j['width']), parseNum(j['height']));