IndexList.fromMap constructor

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

Implementation

factory IndexList.fromMap(
  Map<String, dynamic> map,
) {
  return IndexList(
    total: map['total'],
    indexes: List<Index>.from(
      map['indexes'].map((p) => Index.fromMap(p)),
    ),
  );
}