AttributeList.fromMap constructor

AttributeList.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AttributeList.fromMap(
  Map<String, dynamic> map,
) {
  return AttributeList(
    total: map['total'],
    attributes: List.from(map['attributes'] ?? []),
  );
}