menu
moontree_utils package
documentation
extensions/string.dart
StringNumericExtension extension
StringNumericExtension extension
dark_mode
light_mode
StringNumericExtension
extension
on
String
Methods
asInt
(
)
→
int
asSatsInt
(
)
→
int
assumes the string is already in sats.
toCommaString
(
{
String
comma
=
','
})
→
String
takes a numeric string and inserts commas
toDouble
(
)
→
double
toSats
(
[
int
divisibility
=
8
])
→
int
assumes the string is an amount
moontree_utils package
documentation
extensions/string
StringNumericExtension extension
string library