CoreMLBindings constructor

CoreMLBindings({
  1. CoreMLHostApi? host,
  2. CoreMLPlatformApi? platform,
})

Creates bindings, defaulting to the real platform channels.

Implementation

CoreMLBindings({CoreMLHostApi? host, CoreMLPlatformApi? platform})
  : host = host ?? CoreMLHostApi(),
    platform = platform ?? CoreMLPlatformApi();