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
Methods
-
addBytes(
String name, Uint8List buffer) → GGPackBuilder -
Adds an entry
name
with specifiedbuffer
. -
addContent(
String name, String content) → GGPackBuilder -
Adds an entry
name
with specifiedcontent
. -
addFile(
String name, String path) → GGPackBuilder -
Adds an entry
name
with specifiedpath
. -
addMap(
String name, Map< String, dynamic> map) → GGPackBuilder -
Adds an entry
name
with specifiedmap
. -
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