copyWith method

RpcOptions copyWith({
  1. int? ttl,
  2. bool? prompt,
  3. int? tag,
})

Implementation

RpcOptions copyWith({
  int? ttl,
  bool? prompt,
  int? tag,
}) {
  return RpcOptions(
    ttl ?? this.ttl,
    prompt ?? this.prompt,
    tag ?? this.tag,
  );
}