GGPackBuilder class

A GGPackBuilder encodes a list of entries of type GGPackEntry to data.

Constructors

GGPackBuilder(XorKey key)
Creates a GGPackBuilder with a key.

Properties

hashCode int
The hash code for this object.
no setterinherited
key XorKey
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addBytes(String name, Uint8List buffer) GGPackBuilder
Adds an entry name with specified buffer.
addContent(String name, String content) GGPackBuilder
Adds an entry name with specified content.
addFile(String name, String path) GGPackBuilder
Adds an entry name with specified path.
addMap(String name, Map<String, dynamic> map) GGPackBuilder
Adds an entry name with specified map.
build() Uint8List
Builds the pack.
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