parseCompactDate function

Jalali parseCompactDate(
  1. String inputString
)

Implementation

Jalali parseCompactDate(String inputString) {
  List<int> split = inputString.split('/').map((e) => int.parse(e)).toList();
  return Jalali(split[0], split[1], split[2]);
}