Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:core
  3. Duration
  4. abs method
abs
description

abs method

Durationabs()

Creates a newDuration representing the absolute length of thisDuration.

The returnedDuration has the same length as this one, but is alwayspositive where possible.

Implementation

Duration abs() => Duration._microseconds(_duration.abs());
  1. Dart
  2. dart:core
  3. Duration
  4. abs method
Duration class

[8]ページ先頭

©2009-2025 Movatter.jp