types/common library
Classes
Constants
- MGO_ADDRESS_LENGTH → const int
- TX_DIGEST_LENGTH → const int
Properties
- VALID_BASE64_REGEX → RegExp
-
final
Functions
-
getHexByteLength(
String value) → int -
isHex(
String value) → bool -
isValidMgoAddress(
String value) → bool -
isValidMgoObjectId(
String value) → bool -
isValidTransactionDigest(
String value) → bool -
normalizeMgoAddress(
String value, [bool forceAdd0x = false]) → String - Perform the following operations:
-
normalizeMgoObjectId(
String value, [bool forceAdd0x = false]) → String -
normalizeStructTag(
StructTag type) → String -
normalizeStructTagString(
String type) → String -
parseStructTag(
String type) → StructTag -
parseTypeTag(
String type) → dynamic -
splitGenericParameters(
String str, [(String, String) genericSeparators = ('<', '>')]) → List< String>
Typedefs
- MgoAddress = String
- TransactionDigest = String
- Base64 string representing the object digest