splice method

String splice({
  1. required String motif,
})

Returns this sequence with all occurrences of motif removed.

Implementation

String splice({required String motif}) => seq.replaceAll(motif, '');