yMMM method

String yMMM({
  1. bool isFull = false,
})
  yMMM() => Oct 2022
  yMMM(isFull: true) => October 2022

Implementation

String yMMM({bool isFull = false}) =>
    '${isFull ? dtl.months.LIST[_dt.month - 1] : dtl.shortmonths.LIST[_dt.month - 1]}${_ ?? ' '}'
    '${_dt.year}';