FBLogPurchaseMessageRequest constructor

FBLogPurchaseMessageRequest({
  1. double? amount,
  2. String? currency,
  3. Map<String, String>? eventParameter,
})

Implementation

factory FBLogPurchaseMessageRequest({
  $core.double? amount,
  $core.String? currency,
  $core.Map<$core.String, $core.String>? eventParameter,
}) {
  final $result = create();
  if (amount != null) {
    $result.amount = amount;
  }
  if (currency != null) {
    $result.currency = currency;
  }
  if (eventParameter != null) {
    $result.eventParameter.addAll(eventParameter);
  }
  return $result;
}