tenant_doc_state.dart 407 B

1234567891011121314151617181920212223
  1. class TenantDocState {
  2. final List<String> docList;
  3. final double remainingSpace;
  4. const TenantDocState({
  5. required this.docList,
  6. this.remainingSpace = 0,
  7. });
  8. TenantDocState copyWith({
  9. List<String>? docList,
  10. double? remainingSpace,
  11. }) {
  12. return TenantDocState(
  13. docList: docList ?? this.docList,
  14. remainingSpace: remainingSpace ?? this.remainingSpace,
  15. );
  16. }
  17. }