StringExt extension

String extension methods.

on

Methods

toBase58Data() Base58Data

Available on String, provided by the StringExt extension

Convert Base58 String to Base58Data.
toBase64Data() Base64Data

Available on String, provided by the StringExt extension

Convert Base64 String to Base64Data.
toBigInt({int? radix}) BigInt

Available on String, provided by the StringExt extension

toDateTime(TimeUnit unit, {bool isUtc = false}) DateTime

Available on String, provided by the StringExt extension

Parse timestamp
toDecimal() → Decimal

Available on String, provided by the StringExt extension

Parse num string to exactly Decimal.
toDouble() double

Available on String, provided by the StringExt extension

toHexData() HexData

Available on String, provided by the StringExt extension

Convert Hex String to HexData.
toInt({int? radix}) int

Available on String, provided by the StringExt extension

toNum() num

Available on String, provided by the StringExt extension

toUri([int start = 0, int? end]) Uri

Available on String, provided by the StringExt extension

tryToBase58Data() Base58Data?

Available on String, provided by the StringExt extension

tryToBase64Data() Base64Data?

Available on String, provided by the StringExt extension

tryToBigInt({int? radix}) BigInt?

Available on String, provided by the StringExt extension

tryToDateTime(TimeUnit unit, {bool isUtc = false}) DateTime?

Available on String, provided by the StringExt extension

Try to parse timestamp.
tryToDecimal() → Decimal?

Available on String, provided by the StringExt extension

tryToDouble() double?

Available on String, provided by the StringExt extension

tryToHexData() HexData?

Available on String, provided by the StringExt extension

tryToInt({int? radix}) int?

Available on String, provided by the StringExt extension

tryToNum() num?

Available on String, provided by the StringExt extension

tryToUri([int start = 0, int? end]) Uri?

Available on String, provided by the StringExt extension