var_dump 0.5.0 copy "var_dump: ^0.5.0" to clipboard
var_dump: ^0.5.0 copied to clipboard

Dumps details in tree from variable. Optionally exits. Can use dump() or var_dump(), or dd() for "dump and die"

Dumps details in tree from variable. Optionally exits.

Getting started #

dart pub add dev:var_dump

Usage #

import 'package:var_dump/var_dump.dart';

void main(List<String> args) async {
  Map<String, dynamic> objects = {
    'string': 'Josh',
    'int': 10,
    'double': 1.0,
    'bool': true,
    'list': [1, 2, 3],
    'map': {'key': 'value'},
    'function': () {},
    'symbol': #symbol,
    'type': int,
    'uri': Uri.parse('https://example.com'),
    'null': null
  };

  dd(objects);
}

LICENSE #

BSD 3-Clause License

CONTRIBUTE #

Just do a PR

2
likes
150
pub points
8%
popularity

Publisher

verified publisherhelio.me

Dumps details in tree from variable. Optionally exits. Can use dump() or var_dump(), or dd() for "dump and die"

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

all_exit_codes

More

Packages that depend on var_dump