copyWith method

ReownAppKitModalSession copyWith({
  1. SessionData? sessionData,
  2. CoinbaseData? coinbaseData,
  3. MagicData? magicData,
  4. SIWESession? siweSession,
})

Implementation

ReownAppKitModalSession copyWith({
  SessionData? sessionData,
  CoinbaseData? coinbaseData,
  MagicData? magicData,
  SIWESession? siweSession,
}) {
  return ReownAppKitModalSession(
    sessionData: sessionData ?? _sessionData,
    coinbaseData: coinbaseData ?? _coinbaseData,
    magicData: magicData ?? _magicData,
    siweSession: siweSession ?? _siweSession,
  );
}