Word constructor

Word({
  1. int? offset,
  2. String? value,
})

Implementation

Word({
  int? offset,
  String? value,
})  : offset = offset ?? 0,
      value = value ?? '';