fromJsonStorage static method
Implementation
static Nip01Event fromJsonStorage(Map<String, Object?> json) {
// Restore additional properties not handled by fromJson
final event = Nip01EventModel.fromJson(json);
return event.copyWith(
validSig: json['validSig'] as bool?,
sources: json['sources'] != null
? List<String>.from(json['sources'] as List)
: const [],
);
}