IndexAttachment.fromJson constructor

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

Implementation

factory IndexAttachment.fromJson(Map<String, dynamic> json) {
  return IndexAttachment(
    indexedAttributes: (json['IndexedAttributes'] as List?)
        ?.whereNotNull()
        .map((e) => AttributeKeyAndValue.fromJson(e as Map<String, dynamic>))
        .toList(),
    objectIdentifier: json['ObjectIdentifier'] as String?,
  );
}