Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -8,9 +8,9 @@ class PbpData {
});
factory PbpData.fromJson(Map<String, dynamic> json) => PbpData(
stepSec: json["step_sec"],
events: json["events"] == null ? null : Events.fromJson(json["events"]),
);
stepSec: json["step_sec"],
events: json["events"] == null ? null : Events.fromJson(json["events"]),
);
}
class Events {
@@ -21,8 +21,8 @@ class Events {
});
factory Events.fromJson(Map<String, dynamic> json) => Events(
eDefault: (json["default"] as List?)
?.map((e) => (e as num).toDouble())
.toList(),
);
eDefault: (json["default"] as List?)
?.map((e) => (e as num).toDouble())
.toList(),
);
}