Embed class sealed

Base class for the all annotation classes that configures how content is embedded.

Use the one of the following subclasses to configure how content should be embedded.

  • EmbedStr : For embedding a text content as a string literal.
  • EmbedBinary : For embedding a binary data as an integer list or a base64 string.
  • EmbedLiteral : For embedding a structured data as a dart object.

Only top level elements can be annotated with these annotations.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
The path to the content file to be embedded.
final
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