Word constructor

Word({
  1. required String text,
  2. required int id,
})

Implementation

Word({required this.text, required this.id});