deleteThread method

Future<bool> deleteThread(
  1. String threadId
)

Implementation

Future<bool> deleteThread(String threadId) async {
  final result = await _repository.deleteThread(threadId);

  return result.fold(
    (l) => false,
    (r) => true,
  );
}