GetLinkAttributesResponse.fromJson constructor

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

Implementation

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