SigningInput constructor

SigningInput({
  1. List<int>? privateKey,
  2. String? destination,
  3. Int64? value,
  4. Int64? fee,
  5. int? validityStartHeight,
  6. NetworkId? networkId,
})

Implementation

factory SigningInput({
  $core.List<$core.int>? privateKey,
  $core.String? destination,
  $fixnum.Int64? value,
  $fixnum.Int64? fee,
  $core.int? validityStartHeight,
  NetworkId? networkId,
}) {
  final result = create();
  if (privateKey != null) result.privateKey = privateKey;
  if (destination != null) result.destination = destination;
  if (value != null) result.value = value;
  if (fee != null) result.fee = fee;
  if (validityStartHeight != null)
    result.validityStartHeight = validityStartHeight;
  if (networkId != null) result.networkId = networkId;
  return result;
}