removeHyphenGetMonth function

dynamic removeHyphenGetMonth(
  1. String dateTime
)

Implementation

removeHyphenGetMonth(String dateTime) {
  final month = dateTime.split('-');
  return month[1];
}