getCollectibleInfo method

Future<Result<FragmentCollectibleInfoBase>> getCollectibleInfo({
  1. required InputCollectibleBase collectible,
})

Get Collectible Info.

ID: be1e85ba.

Implementation

Future<Result<FragmentCollectibleInfoBase>> getCollectibleInfo({
  required InputCollectibleBase collectible,
}) async {
  // Preparing the request.
  final request = FragmentGetCollectibleInfo(collectible: collectible);

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<FragmentCollectibleInfoBase>();
}