dart_extensionz 4.4.0 copy "dart_extensionz: ^4.4.0" to clipboard
dart_extensionz: ^4.4.0 copied to clipboard

A set of Dart extensions I use in various projects. Including Boolean, DateTime extensions and more.

Dart Extensionz #

A set of Dart extensions I use in various projects.

Usage #

import 'package:dart_extensionz/dart_extensionz.dart';

int value = 12;
String result = value.ordinal;
expect(result, '12th');


String value = '   Jon        Snow     ';
String result = value.normalizeSpace();
expect(result, 'Jon Snow');

File file = File('/documents/MyAwesomeFile.txt');

expect(file.name, 'MyAwesomeFile.txt');
expect(file.displayName, 'MyAwesomeFile');
expect(file.extension, 'txt');
2
likes
0
pub points
42%
popularity

Publisher

verified publishermj12358.dev

A set of Dart extensions I use in various projects. Including Boolean, DateTime extensions and more.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dart_extensionz