LockInfo.fromJson constructor
Implementation
factory LockInfo.fromJson(Map<String, dynamic> json) {
return LockInfo(
pid: json['pid'] as int? ?? 0,
timestamp: json['timestamp'] as String? ?? '',
operation: json['operation'] as String? ?? 'release',
);
}