sloth 1.0.0 copy "sloth: ^1.0.0" to clipboard
sloth: ^1.0.0 copied to clipboard

outdated

Sloth combines all current and future packages provided under the sloth name. You can import sloth to have access to all class extensions or add the individual packages to your pubspec.yaml file.

ARE YOU A SLOTH? - SLOTH CORE #

Features #

  • DateTime extension:
    • secondsSinceEpoch

Getting started #

With dart:

 $ dart pub add sloth

With Flutter:

 $ flutter pub add sloth

Usage #

Import the package

import 'package:sloth/sloth.dart';

Access the extensions:

  // get secondsSinceEpoch
  int seconds = DateTime.now().secondsSinceEpoch;
  print("Seconds since epoch $seconds s");
1
likes
0
points
5
downloads

Publisher

verified publisherynnob.com

Weekly Downloads

Sloth combines all current and future packages provided under the sloth name. You can import sloth to have access to all class extensions or add the individual packages to your pubspec.yaml file.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

sloth_datetime

More

Packages that depend on sloth