remove method

AnnotationResult remove(
  1. String id
)

Implementation

AnnotationResult remove(String id) {
  final newMessages = messages.where((e) => e.id != id).toList();
  return AnnotationResult(messages: newMessages);
}