Binary serializer for ClassDeclaration and related cache types.
Uses a compact binary format with string deduplication via a string table. All strings are stored once in a string table and referenced by uint16 index.
- Mixed-in types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deserialize(
Uint8List data) → CacheDeserializationResult - Deserializes binary data back into a CacheDeserializationResult.
-
equalizedProperties(
) → List< Object?> -
Mixin-style contract for value-based equality,
hashCode, andtoString.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< ClassDeclaration> components, Map<String, int> fileEntries, {List<Asset> assets = const [], List<Package> packages = const [], List<IndexedLibraryMeta> libraries = const [], Map<String, List< subclasses = const {}, Map<String> >String, List< annotatedMethods = const {}}) → Uint8ListMap< >String, String> > - Serializes a list of ClassDeclaration and file entries to a compact binary format.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited