copyWith method

SessionStatus copyWith({
  1. int? chainId,
  2. List<String>? accounts,
  3. int? networkId,
  4. String? rpcUrl,
})

Implementation

SessionStatus copyWith({
  int? chainId,
  List<String>? accounts,
  int? networkId,
  String? rpcUrl,
}) {
  return SessionStatus(
    chainId: chainId ?? this.chainId,
    accounts: accounts ?? this.accounts,
    networkId: networkId ?? this.networkId,
    rpcUrl: rpcUrl ?? this.rpcUrl,
  );
}