AddCoinRequest constructor

AddCoinRequest({
  1. String? userId,
  2. String? currency,
  3. String? salt,
  4. WalletType? walletType,
})

Implementation

factory AddCoinRequest({
  $core.String? userId,
  $core.String? currency,
  $core.String? salt,
  WalletType? walletType,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (currency != null) {
    $result.currency = currency;
  }
  if (salt != null) {
    $result.salt = salt;
  }
  if (walletType != null) {
    $result.walletType = walletType;
  }
  return $result;
}