Latin1Data class
Byte data represented by Latin-1 encoded text. @param value the data bytes
Constructors
- Latin1Data(Uint8List? value)
-
Creates a
Latin1Datainstance from raw bytes data. @param value the underlying data - Latin1Data.unsafe(String from)
-
Unsafely creates a
Latin1Datainstance from aString. Throws anArgumentErrorif the input is not a valid Latin-1 encoded string. @param from theStringto create theLatin1Datafrom @return theLatin1Data@throws ArgumentError when the input string is not a valid Latin-1 encoding.factory - Latin1Data.validated(String from)
-
Creates a
Latin1Datavalue from aString. Validates that the input String is a valid Latin-1 encoding. @param from theStringto create theLatin1Datafrom. @return aDataEncodingValidationResultrepresenting a validation error or theLatin1Data
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override