getVendorDetails static method

Future<Map<String, dynamic>?> getVendorDetails(
  1. String vendorID,
  2. VendorListMode mode
)

Implementation

static Future<Map<String, dynamic>?> getVendorDetails(String vendorID, VendorListMode mode) async {
    final data = await _channel.invokeMethod(
      'getVendorDetails', {'vendorID': vendorID, 'mode': mode.toString().split('.').last});
  return _encodeJson(data);
}