from static method

RustTarget? from({
  1. required Architecture architecture,
  2. required OS os,
  3. required IOSSdk? iosSdk,
})

Implementation

static RustTarget? from({
  required Architecture architecture,
  required OS os,
  required IOSSdk? iosSdk,
}) {
  return _targets.firstWhereOrNull(
    (e) => e.architecture == architecture && e.os == os && e.iosSdk == iosSdk,
  );
}