Add a copy method to Time
This commit is contained in:
parent
730535d4b8
commit
5f9f0e08ef
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue