dart_extensionz

Creator: coderz1093

Last updated:

0 purchases

dart_extensionz Image
dart_extensionz Images

Languages

Categories

Add to Cart

Description:

dart extensionz

Dart Extensionz #

A set of Dart extensions I use in various projects.
Usage #

Ordinal

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

Normalize Space

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

Files


File file = File('/documents/MyAwesomeFile.txt');
expect(file.name, 'MyAwesomeFile.txt');
expect(file.displayName, 'MyAwesomeFile');
expect(file.extension, 'txt');
copied to clipboard

Mask

String value = 'Testing';
expect(value.mask(), '####ing');
expect(value.mask(end: value.length, char: '*'), '*******');
copied to clipboard

The generated documentation will give you a great overview of all that is available.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.