pappes_utility 1.0.3 copy "pappes_utility: ^1.0.3" to clipboard
pappes_utility: ^1.0.3 copied to clipboard

A library useful for console applications or web applications. Currently includes RamCache which is an in memory object store and helper functions like ifNull()

example/pappes_utility.dart

// Copyright (c) 2015, Pappes. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

library pappes_utility.example;

import 'package:pappes_utility/pappes_utility.dart';

main() {
  Map values = {'a': 1, 'b': 'abc"def'};
  final csv = mapToCSV(values); // will return "1","abc""def"

  RamCache.remember('MyKey', csv);
  print(RamCache.recall('MyKey'));
  RamCache.forget('MyKey');
}
0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A library useful for console applications or web applications. Currently includes RamCache which is an in memory object store and helper functions like ifNull()

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on pappes_utility