getCollectionData method

Future<List<CollectionData>> getCollectionData(
  1. Collection collection,
  2. Languages language
)

Takes collection and language and returns the collection data for that language.

Implementation

Future<List<CollectionData>> getCollectionData(
  Collection collection,
  Languages language,
) async {
  // Implement this method based on your collections data structure
  // For example, load from a 'collections.json' file
  throw UnimplementedError(
    "Implement this method based on your collections data structure.",
  );
}