toMapForDbUpdate method
Implementation
Map<String, dynamic> toMapForDbUpdate() {
return {
'id': id,
'status': status.name.toUpperCase(),
'attempts': attempts,
'last_attempt_at': lastAttemptAt?.toIso8601String(),
'last_error': lastError,
// updated_at is handled by trigger
};
}