dateColumns static method

List<String> dateColumns()

Implementation

static List<String> dateColumns() {
  if (Platform.isAndroid) {
    const android = CustomColumns.android;
    return [
      android.createDate,
      android.modifiedDate,
      android.dateTaken,
      android.dateExpires,
    ];
  } else if (Platform.isIOS || Platform.isMacOS) {
    const darwin = CustomColumns.darwin;
    return [darwin.createDate, darwin.modifiedDate];
  }
  return [];
}