pubSpec top-level property Null safety

dynamic pubSpec
final

Implementation

final pubSpec = json.decode(
    '{"name":"easy_onvif","version":"2.1.2+11","homepage":"https://github.com/faithoflifedev/easy_onvif","environment":{"sdk":">=2.19.2 <4.0.0"},"description":"A pure Dart library designed primarily for command line automation of Onvif compatible devices, but can be used anywhere Dart is used.","dependencies":{"args":"^2.3.1","crypto":"^3.0.2","dio":"^5.1.1","html_unescape":"^2.0.0","intl":"^0.18.1","json_annotation":"^4.8.0","loggy":"^2.0.3","shelf":"^1.4.1","shelf_router":"^1.1.4","sprintf":"^7.0.0","universal_io":"^2.2.0","uuid":"^3.0.7","xml":"^6.3.0","xml2json":"^5.3.6","yaml":"^3.1.1"},"dev_dependencies":{"build_runner":"^2.3.3","grinder":"^0.9.2","json_serializable":"^6.6.1","lints":"^2.0.1","mustache_template":"^2.0.0","process_run":"^0.12.3+2","pub_semver":"^2.1.3","publish_tools":"^0.1.0+10","pubspec":"^2.3.0","test":"^1.24.2"},"executables":{"onvif":""},"repository":"https://github.com/faithoflifedev/easy_onvif"}');