BatchGetLinkAttributesResponse.fromJson constructor

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

Implementation

factory BatchGetLinkAttributesResponse.fromJson(Map<String, dynamic> json) {
  return BatchGetLinkAttributesResponse(
    attributes: (json['Attributes'] as List?)
        ?.whereNotNull()
        .map((e) => AttributeKeyAndValue.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}