TarHeader class
Constructors
-
TarHeader.new({required TarEntryType entryType, required Uint8List bytes, required Uint8List pathBytes, String? path, Uint8List? linkNameBytes, String? linkName, int? mode, BigInt? uid, BigInt? gid, BigInt? mtime, Uint8List? usernameBytes, String? username, Uint8List? groupnameBytes, String? groupname, int? deviceMajor, int? deviceMinor, int? cksum, required List<
String> formatErrors}) -
const
- TarHeader.fromJson(Object? json_)
-
Returns a new instance from a JSON value.
May throw if the value does not have the expected structure.
factory
Properties
- bytes → Uint8List
-
final
- cksum → int?
-
final
- deviceMajor → int?
-
final
- deviceMinor → int?
-
final
- entryType → TarEntryType
-
final
-
formatErrors
→ List<
String> -
final
- gid → BigInt?
-
final
- groupname → String?
-
final
- groupnameBytes → Uint8List?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- linkName → String?
-
final
- linkNameBytes → Uint8List?
-
final
- mode → int?
-
final
- mtime → BigInt?
-
final
- path → String?
-
final
- pathBytes → Uint8List
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid → BigInt?
-
final
- username → String?
-
final
- usernameBytes → Uint8List?
-
final
Methods
-
copyWith(
{TarEntryType? entryType, Uint8List? bytes, Uint8List? pathBytes, Option< String> ? path, Option<Uint8List> ? linkNameBytes, Option<String> ? linkName, Option<int> ? mode, Option<BigInt> ? uid, Option<BigInt> ? gid, Option<BigInt> ? mtime, Option<Uint8List> ? usernameBytes, Option<String> ? username, Option<Uint8List> ? groupnameBytes, Option<String> ? groupname, Option<int> ? deviceMajor, Option<int> ? deviceMinor, Option<int> ? cksum, List<String> ? formatErrors}) → TarHeader - Returns a new instance by overriding the values passed as arguments
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Returns a JSON representation of this.
-
toString(
) → String -
A string representation of this object.
override
-
toWasm(
) → List< Object?> - Returns this as a WASM canonical abi value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override