copyWith method

WalletActivityState copyWith({
  1. List<TxSummary>? rows,
  2. String? nextCursor()?,
  3. WalletActivityPhase? phase,
})

Implementation

WalletActivityState copyWith({
  List<TxSummary>? rows,
  String? Function()? nextCursor,
  WalletActivityPhase? phase,
}) => WalletActivityState(
  rows: rows ?? this.rows,
  nextCursor: nextCursor != null ? nextCursor() : this.nextCursor,
  phase: phase ?? this.phase,
);