PathToObjectIdentifiers.fromJson constructor

PathToObjectIdentifiers.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PathToObjectIdentifiers.fromJson(Map<String, dynamic> json) {
  return PathToObjectIdentifiers(
    objectIdentifiers: (json['ObjectIdentifiers'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    path: json['Path'] as String?,
  );
}