registerWith static method

void registerWith(
  1. Registrar registrar
)

Registers this class as the default instance of ImagePickerMasterPlatform.

Implementation

static void registerWith(Registrar registrar) {
  // For Flutter 3.9.0 and above, we don't use the registrar parameter
  // as the plugin registration mechanism has changed
  ImagePickerMasterPlatform.instance = ImagePickerMasterWeb();
}