factory SchedulerLock.fromJson(Map<String, dynamic> json) => SchedulerLock( sessionId: json['sessionId'] as String, pid: json['pid'] as int, acquiredAt: json['acquiredAt'] as int, );