diffInSeconds method

int diffInSeconds(
  1. Carbon other
)

Get difference in seconds.

Implementation

int diffInSeconds(Carbon other) {
  return _engine.diff(other._engine, unit: Unit.second).toInt();
}