get method

Gets and populates collection information. @returns Collection instance.

Implementation

Future<NftCollection> get() async {
  final data = await ApillonApi.get<dynamic>(apiPrefix!);
  return populate(data);
}