Files
Remever/lib/services/tickets/tickets_interface.dart

14 lines
469 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import 'package:remever/database/database.dart';
import 'package:remever/models/create_ticket_dto.dart';
///
/// Интерфейс взаимодействия с билетами в коллекция
///
abstract interface class TicketsInterface {
/// Получение списка билетов
Stream<List<Ticket>> watchTicketsList(String collectionId);
/// Создание нового билета
Future<void> createTicket(CreateTicketDto dto);
}