HiddenInspectionEntry.fromJson constructor
Implementation
factory HiddenInspectionEntry.fromJson(Map<String, dynamic> json) =>
HiddenInspectionEntry(
pjNr: json['pjNr']?.toString() ?? '',
localId: json['localId']?.toString(),
title: json['title']?.toString(),
hiddenAtMs: (json['hiddenAtMs'] is int)
? json['hiddenAtMs'] as int
: int.tryParse(json['hiddenAtMs']?.toString() ?? '') ??
DateTime.now().millisecondsSinceEpoch,
);