DeleteAttributesResponse.fromJson constructor

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

Implementation

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