copyWith method
ViewerSessionSnapshot
copyWith({
- ViewerSessionPhase? phase,
- ViewerSessionIdentity? session,
- ViewerSessionStatus? status,
- String? error,
Implementation
ViewerSessionSnapshot copyWith({
ViewerSessionPhase? phase,
ViewerSessionIdentity? session,
ViewerSessionStatus? status,
String? error,
}) =>
ViewerSessionSnapshot(
phase: phase ?? this.phase,
session: session ?? this.session,
status: status ?? this.status,
error: error ?? this.error,
canRequestPromotion: canRequestPromotion,
);