static List<int> getExpiryDate(String value) { var split = value.split(RegExp(r'(\/)')); return [int.parse(split[0]), int.parse(split[1])]; }