durationArg function

Duration? durationArg(
  1. int i,
  2. ValueReader reader
)

Default Duration argument converter

Implementation

Duration? durationArg(int i, sql.ValueReader reader) {
  final raw = reader.intValueAt(i);
  return raw == null ? null : Duration(microseconds: raw);
}