safemap 2.1.0 copy "safemap: ^2.1.0" to clipboard
safemap: ^2.1.0 copied to clipboard

Safely get value with Type from JSON map. Will return null value when value was wrong.

[2.1.0]. #

  • Add intOrZero getter.
  • Add doubleOrZero getter.
  • Add mapOrBlank getter.
  • Add listOrBlank getter.
  • Add hasValue getter.
  • Change boolean getter from bool? to bool.

[2.0.0-nullsafety.0]. #

  • Add nullsafety

[1.2.3]. #

  • toDouble getter can auto transfer int to double now(but not return null value).

[1.2.2]. #

  • Add toInt getter to transfer String to int.
  • Add toDouble getter to transfer String to double.

[1.2.1]. #

  • Fix list bug.

[1.0.3]. #

  • Fix bug.

[1.0.2]. #

  • 不再依赖Flutter

[1.0.1]. #

  • 添加了int与double的直接取值.
  • 添加了Example.

[1.0.0]. #

  • init.
11
likes
150
pub points
86%
popularity

Publisher

unverified uploader

Safely get value with Type from JSON map. Will return null value when value was wrong.

Homepage

Documentation

API reference

License

MIT (license)

More

Packages that depend on safemap