mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-18 14:49:15 +00:00
10 lines
179 B
Dart
10 lines
179 B
Dart
class DiskSize {
|
|
DiskSize({final this.byte = 0});
|
|
|
|
double asKb() => byte / 1000.0;
|
|
double asMb() => byte / 1000000.0;
|
|
double asGb() => byte / 1000000000.0;
|
|
|
|
int byte;
|
|
}
|