DiffReviewLoadMsg constructor

DiffReviewLoadMsg({
  1. required String documentId,
  2. required String revision,
  3. required GitDiffModel diff,
  4. Iterable<DiffReviewThread> threads = const [],
})

Loads a patch and its thread descriptors as one update.

Implementation

DiffReviewLoadMsg({
  required this.documentId,
  required this.revision,
  required this.diff,
  Iterable<DiffReviewThread> threads = const [],
}) : threads = List.unmodifiable(threads);