getPrevJie method

JieQi getPrevJie([
  1. bool wholeDay = false
])

Implementation

JieQi getPrevJie([bool wholeDay = false]) {
  int l = (JIE_QI_IN_USE.length / 2).floor();
  List<String> conditions = <String>[];
  for (int i = 0; i < l; i++) {
    conditions.add(JIE_QI_IN_USE[i * 2]);
  }
  return _getNearJieQi(false, conditions, wholeDay)!;
}