Translation constructor

const Translation({
  1. required String text,
  2. required String to,
})

Implementation

const Translation({required this.text, required this.to});