Common Utilities for DSA Components

Constants

alphabet → List<String>

const ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M"…
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

awaitWithTimeout(Future future, int timeoutMs, { Function onTimeout: null, Function onSuccessAfterTimeout: null, Function onErrorAfterTimeout: null }) → Future

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

buildEnumType(Iterable<String> values) → String

countCharacterFrequency(String input, String char) → int

foldList(List<int> a, List<int> b) → List<int>

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:

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