getPromotionByCode method
Implementation
Future<SyneriseResult<Promotion>> getPromotionByCode(String code) async {
return await SyneriseInvocation(methodChannel)
.invokeSDKApiMethod<Promotion>('Promotions/getPromotionByCode',
parameters: code, isMappable: true);
}