scan static method

List<UCode> scan(
  1. UBitMatrix matrix,
  2. UCodeScanOptions options
)

Implementation

static List<UCode> scan(UBitMatrix matrix, UCodeScanOptions options) {
  try {
    final UCode? code = _scan(matrix);
    return code == null ? const <UCode>[] : <UCode>[code];
  } catch (_) {
    return const <UCode>[];
  }
}