No description
Find a file
Shan Shaji 7bccfbd708 deps: add objective_c dependency to access NSError's code property
Starting from `v9.0.0` of the `objective_c` package, `NSError` is
defined as an extension type [0] instead of a wrapper class in Dart. As a
result, the `code` property is not accessible at compile time unless the
extension type is explicitly imported, even though the underlying object
exposes it at runtime.

To fix this, the `objective_c` dependency has been added and imported
the dependency were the code property is accessed.

- [0] https://github.com/dart-lang/native/pull/2723

Signed-off-by: Shan Shaji <s.shaji@proxmox.com>
Link: https://lore.proxmox.com/20260603153423.3227-8-s.shaji@proxmox.com
2026-06-17 15:17:15 +02:00
lib deps: add objective_c dependency to access NSError's code property 2026-06-17 15:17:15 +02:00
test fix: cleanup: dart analysis issues found by dart linter 2026-04-02 13:25:58 +02:00
.gitignore update dependencies and track pubspec lock file 2023-07-04 11:57:22 +02:00
analysis_options.yaml pubspec: update deps 2021-12-09 22:29:35 +01:00
CHANGELOG.md initial commit 2019-08-08 12:04:27 +02:00
pubspec.lock deps: add objective_c dependency to access NSError's code property 2026-06-17 15:17:15 +02:00
pubspec.yaml deps: add objective_c dependency to access NSError's code property 2026-06-17 15:17:15 +02:00
README.md remove shared prefs & flutter dependency 2020-07-29 14:00:39 +02:00

To run builds for model classes use: pub run build_runner build

or if you like use a watcher: pub run build_runner watch