PutAttributesResponse.fromJson constructor

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

Implementation

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