num diffInSeconds(DateTime other, {bool asFloat = false}) { return diff(other, unit: TimeUnit.second, asFloat: asFloat); }