CallOptions constructor

CallOptions({
  1. bool? progress,
  2. bool? receiveProgress,
  3. int? timeout,
  4. bool? discloseMe,
  5. String? transactionHash,
  6. String? pptScheme,
  7. String? pptSerializer,
  8. String? pptCipher,
  9. String? pptKeyId,
  10. Map<String, dynamic>? custom,
})

Implementation

CallOptions({
  this.progress,
  this.receiveProgress,
  this.timeout,
  this.discloseMe,
  String? transactionHash,
  String? pptScheme,
  String? pptSerializer,
  String? pptCipher,
  String? pptKeyId,
  Map<String, dynamic>? custom,
}) {
  this.pptScheme = pptScheme;
  this.pptSerializer = pptSerializer;
  this.pptCipher = pptCipher;
  this.pptKeyId = pptKeyId;
  if (custom != null) {
    this.custom.addAll(custom);
  }
  if (transactionHash != null) {
    this.transactionHash = transactionHash;
  }
}