getVendor static method
Get a vendor by its id.
Implementation
static Future<Vendor?> getVendor(String vendorId) async {
final dynamic result = await _channel.invokeMethod("getVendor", {"vendorId": vendorId});
if (result == null) return null;
return Vendor.fromJson(result);
}