NullableStringExtensions extension

Provides an extension method for String that is nullable.

NullableなString用の拡張メソッドを提供します。

on

Properties

isEmpty bool

Available on String?, provided by the NullableStringExtensions extension

Whether this string is empty.
no setter
isNotEmpty bool

Available on String?, provided by the NullableStringExtensions extension

Whether this string is not empty.
no setter
length int

Available on String?, provided by the NullableStringExtensions extension

The length of the string.
no setter

Methods

toAny() → dynamic

Available on String?, provided by the NullableStringExtensions extension

Converts a String to a type that can be parsed as bool, int, or double, in that order, and returns the type as is.