getCustomerInfo static method

Future<CustomerInfo> getCustomerInfo()

Gets current customer info, which will normally be cached.

Implementation

static Future<CustomerInfo> getCustomerInfo() async {
  final result = await _channel.invokeMethod('getCustomerInfo');
  return CustomerInfo.fromJson(Map<String, dynamic>.from(result));
}