ListInstanceAttributesResponse.fromJson constructor

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

Implementation

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