RefundAgent constructor

RefundAgent({
  1. NodeAddress? nodeAddress,
  2. Iterable<String>? languageCodes,
  3. Int64? registrationDate,
  4. String? registrationSignature,
  5. List<int>? registrationPubKey,
  6. PubKeyRing? pubKeyRing,
  7. String? emailAddress,
  8. String? info,
  9. Map<String, String>? extraData,
})

Implementation

factory RefundAgent({
  NodeAddress? nodeAddress,
  $core.Iterable<$core.String>? languageCodes,
  $fixnum.Int64? registrationDate,
  $core.String? registrationSignature,
  $core.List<$core.int>? registrationPubKey,
  PubKeyRing? pubKeyRing,
  $core.String? emailAddress,
  $core.String? info,
  $core.Map<$core.String, $core.String>? extraData,
}) {
  final $result = create();
  if (nodeAddress != null) {
    $result.nodeAddress = nodeAddress;
  }
  if (languageCodes != null) {
    $result.languageCodes.addAll(languageCodes);
  }
  if (registrationDate != null) {
    $result.registrationDate = registrationDate;
  }
  if (registrationSignature != null) {
    $result.registrationSignature = registrationSignature;
  }
  if (registrationPubKey != null) {
    $result.registrationPubKey = registrationPubKey;
  }
  if (pubKeyRing != null) {
    $result.pubKeyRing = pubKeyRing;
  }
  if (emailAddress != null) {
    $result.emailAddress = emailAddress;
  }
  if (info != null) {
    $result.info = info;
  }
  if (extraData != null) {
    $result.extraData.addAll(extraData);
  }
  return $result;
}