copyWith method

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

Implementation

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