EmbedBinary class
Annotation for embedding raw binary data as a List
Constructors
- EmbedBinary(String path, {bool base64 = false})
-
Creates an annotation for embedding raw binary data. If base64 is true,
the binary data will be encoded as a base64 string, otherwise it will be
encoded as a List
const
Properties
- base64 → bool
-
Specifies whether the generated literal should be a base64 string or a
List
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
The path to the content file to be embedded.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited