Replacement constructor

const Replacement({
  1. required RegExp from,
  2. required String to,
})

Creates a Replacement.

Implementation

const Replacement({required this.from, required this.to});