Attempts.fromJson constructor
Implementation
factory Attempts.fromJson(Map<String, Object?> json) => Attempts(
maxAttempts: json["max_attempts"] == null
? null
: (json["max_attempts"] as num).toInt(),
attemptCount: (json["attempt_count"] as num).toInt(),
failedAttemptCount: (json["failed_attempt_count"] as num).toInt(),
lastAttemptedAt: json["last_attempted_at"] == null
? null
: decodeDateTime(json["last_attempted_at"]),
);