easy_network_time 1.0.1 copy "easy_network_time: ^1.0.1" to clipboard
easy_network_time: ^1.0.1 copied to clipboard

Easy Network Time

The resources to get the online time are taken from https://worldtimeapi.org.

Usage #

 final dateTimeCurrent =
      await EasyNetworkTime.getTimeNetwork(TimeNetwork.asiaHoChiMinh);

  final dateTimeFromLocation = EasyNetworkTime.createDateTime(
    DateTime.now(),
    TimeLocation.asiaHoChiMinh,
  );

  print(dateTimeCurrent);
  print(dateTimeFromLocation);
4
likes
0
points
83
downloads

Publisher

unverified uploader

Weekly Downloads

Easy Network Time

Homepage

License

unknown (license)

Dependencies

http, timezone

More

Packages that depend on easy_network_time