class TenantDocState { final List docList; final String type; const TenantDocState({ required this.docList, required this.type, }); TenantDocState copyWith({ List? docList, String? type, }) { return TenantDocState( docList: docList ?? this.docList, type: type ?? this.type, ); } }