Add a copy method to Time

This commit is contained in:
zontreck 2024-05-23 17:47:50 -07:00
parent 730535d4b8
commit 5f9f0e08ef
2 changed files with 6 additions and 1 deletions

View file

@ -75,6 +75,11 @@ class Time {
this.seconds = seconds;
}
factory Time.copy(Time other) {
return Time(
hours: other.hours, minutes: other.minutes, seconds: other.seconds);
}
factory Time.fromNotation(String notation) {
int hours = 0;
int minutes = 0;

View file

@ -1,6 +1,6 @@
name: libac_flutter
description: "Aria's Creations code library"
version: 1.0.19
version: 1.0.20
homepage: "https://zontreck.com"
environment: