class TenantDocState { final List docList; final double remainingSpace; const TenantDocState({ required this.docList, this.remainingSpace = 0, }); TenantDocState copyWith({ List? docList, double? remainingSpace, }) { return TenantDocState( docList: docList ?? this.docList, remainingSpace: remainingSpace ?? this.remainingSpace, ); } }