yearMonth property
DateFormat
get
yearMonth
Provides a DateFormat instance for "yyyy-MM" format, suitable for month and year representation.
Implementation
static DateFormat get yearMonth => DateFormat('yyyy-MM');