Common Utilities for DSA Components

Constants

alphabet → List<String>

const ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
DSA_VERSION → String

The DSA Version

"1.1.2"
numbers → List<int>

const [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
specials → List<String>

const ["@", "=", "_", "+", "-", "!", "."]

Typedefs

ExecutableFunction() → dynamic

Producer() → T

Taker(T value) → dynamic

TwoTaker(A a, B b) → dynamic

Properties

DEBUG_MODE → bool

Gets if we are in checked mode.

read-only
logger → Logger

Fetches the logger instance.

read-only

Functions

buildActionIO(Map<String, String> types) → List<Map<String, dynamic>>

buildEnumType(Iterable<String> values) → String

countCharacterFrequency(String input, String char) → int

foldList(List a, List b) → List

generateBasicId({int length: 30}) → String

generateToken({int length: 50}) → String

parseEnumType(String type) → List<String>

toUTF8(String str) → Uint8List

updateLogLevel(String name) → void

Updates the log level to the level specified name.

Classes

Base64

difference from crypto lib CryptoUtils.bytesToBase64: 1) default to url filename safe base64 2) allow byte array to have negative int -128 ~ -1 3) custom line size and custom padding space

BinaryData

BroadcastStreamController

ByteDataUtil

CachedStreamWrapper

Disposable

DsCodec

DsJson

DsJsonCodecImpl

DSLinkJSON

DSLogUtils

DsMsgPackCodecImpl

DsTimer

FunctionDisposable

Interval

Scheduler

Schedule Tasks

TimerFunctions

UriComponentDecoder

a decoder class to decode malformed url encoded string