mm property

String mm

month number string ensured to have length of 2

Implementation

String get mm {
  final String str = m;
  return str.length == 1 ? '0' + str : str;
}