getVirtualCurrencies static method

Future<VirtualCurrencies> getVirtualCurrencies()

================================================================================ Virtual Currencies

Fetches the virtual currencies for the current subscriber.

Returns a VirtualCurrencies object, or throws a PlatformException if there was a problem fetching the virtual currencies.

Implementation

/// Fetches the virtual currencies for the current subscriber.
///
/// Returns a [VirtualCurrencies] object, or throws a [PlatformException] if there
/// was a problem fetching the virtual currencies.
static Future<VirtualCurrencies> getVirtualCurrencies() async {
  final result = await _channel.invokeMethod('getVirtualCurrencies');
  return VirtualCurrencies.fromJson(Map<String, dynamic>.from(result));
}