PNEcommConfig(Map<String, dynamic> input) { try { itemType = PNECommItemType.fromValue(input['itemType']); } catch (e) { dt.log("Error processing PNEcommConfig ${e.toString()}"); } }