forceBindAsset method

Future<AssetResult<String>> forceBindAsset({
  1. required String customId,
})

Forces the binding of an asset using a custom ID.

Parameters:

  • customId: The custom ID to force bind the asset to.

Returns a Future<AssetResult<String>> containing the result of the force binding.

Implementation

Future<AssetResult<String>> forceBindAsset({required String customId}) async {
  final String jsonString =
      await _platform.forceBindAsset(customId: customId);
  return AssetResult<String>.fromJson(jsonString);
}