Step.fromMap constructor
Implementation
Step.fromMap(Map<String, Object?> map) {
id = int.parse("${map["id"] ?? 0}");
total = int.parse("${map["total"] ?? 0}");
last = int.parse("${map["last"] ?? 0}");
plus = int.parse("${map["plus"] ?? 0}");
timestamp = int.parse("${map["timestamp"] ?? 0}");
}