From 01e522e8bcbb97a57d3dd6a132820516a0d74a50 Mon Sep 17 00:00:00 2001 From: BirjuVachhani Date: Thu, 7 Nov 2024 06:26:39 +0000 Subject: [PATCH] [CI] Update Stats & Extensions Docs Signed-off-by: BirjuVachhani --- EXTENSIONS.md | 21 +++++++++++++-------- README.md | 4 ++-- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/EXTENSIONS.md b/EXTENSIONS.md index e7de186..619636a 100644 --- a/EXTENSIONS.md +++ b/EXTENSIONS.md @@ -1,6 +1,6 @@ # Extensions > *This file is auto generated. Do not edit this file manually.* -> *Last Updated: Mon, Oct 28, 2024 - 04:23 PM* +> *Last Updated: Thu, Nov 07, 2024 - 06:26 AM* ### on Comparable @@ -358,18 +358,23 @@ | [`toBytes`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L259) | `METHOD` | Converts `this` string to bytes. Default encoding is UTF-8. Use `toUtf16Bytes` for UTF-16 encoding. | | [`toUtf16Bytes`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L263) | `METHOD` | Converts `this` string to bytes using UTF-16 encoding. Use `toBytes` for UTF-8 encoding. | | [`toUnicodeBytes`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L266) | `METHOD` | Converts `this` string to bytes using Unicode encoding. | +| [`takeAfter`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L270) | `METHOD` | Returns the substring after the first occurrence of `pattern`. Returns empty string if `pattern` is not found. | +| [`takeBefore`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L277) | `METHOD` | Returns the substring before the first occurrence of `pattern`. Returns empty string if `pattern` is not found. | +| [`takeAfterLast`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L284) | `METHOD` | Returns the substring after the last occurrence of `pattern`. Returns empty string if `pattern` is not found. | +| [`takeBeforeLast`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L291) | `METHOD` | Returns the substring before the last occurrence of `pattern`. Returns empty string if `pattern` is not found. | +| [`takeBetween`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L298) | `METHOD` | Returns the substring between the first occurrence of `start` and `end`. Returns empty string if `start` or `end` is not found. | ### on String? | Extension | Type | Description | |---|---|---| -| [`isNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L272) | `GETTER` | Returns true if `this` is either null or empty string. | -| [`isNotNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L278) | `GETTER` | Returns true if `this` is neither null nor empty string. | -| [`isNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L284) | `GETTER` | Returns true if `this` is either null or blank string. | -| [`isNotNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L290) | `GETTER` | Returns true if `this` is neither null nor blank string. | -| [`hasContent`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L296) | `GETTER` | Alias for `isNotNullOrEmpty` | -| [`orEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L299) | `GETTER` | Returns `this` if it is not null, otherwise returns empty string. | -| [`matchesExactly`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L302) | `METHOD` | Returns true if this string exactly matches the given `pattern`. | +| [`isNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L311) | `GETTER` | Returns true if `this` is either null or empty string. | +| [`isNotNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L317) | `GETTER` | Returns true if `this` is neither null nor empty string. | +| [`isNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L323) | `GETTER` | Returns true if `this` is either null or blank string. | +| [`isNotNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L329) | `GETTER` | Returns true if `this` is neither null nor blank string. | +| [`hasContent`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L335) | `GETTER` | Alias for `isNotNullOrEmpty` | +| [`orEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L338) | `GETTER` | Returns `this` if it is not null, otherwise returns empty string. | +| [`matchesExactly`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L341) | `METHOD` | Returns true if this string exactly matches the given `pattern`. | ### on File diff --git a/README.md b/README.md index e9517fa..6846ca8 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,14 @@ A dart package aiming to provide useful extensions and helper functions to ease Check out [EXTENSIONS.md](EXTENSIONS.md) for a complete list of all the available extensions. ```yaml -Extensions: 270 +Extensions: 275 Helper Classes: 5 Helper Functions & Getters: 22 Typedefs: 8 Mixins: 2 ``` -> *Last Updated: Mon, Oct 28, 2024 - 10:55 AM* +> *Last Updated: Thu, Nov 07, 2024 - 06:26 AM*