TarHeaderModel class
Constructors
- TarHeaderModel.new({int? mode, BigInt? uid, BigInt? gid, BigInt? mtime, String? username, String? groupname, int? deviceMajor, int? deviceMinor})
-
const
- TarHeaderModel.fromJson(Object? json_)
-
Returns a new instance from a JSON value.
May throw if the value does not have the expected structure.
factory
Properties
- deviceMajor → int?
-
final
- deviceMinor → int?
-
final
- gid → BigInt?
-
final
- groupname → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- mode → int?
-
final
- mtime → BigInt?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid → BigInt?
-
final
- username → String?
-
final
Methods
-
copyWith(
{Option< int> ? mode, Option<BigInt> ? uid, Option<BigInt> ? gid, Option<BigInt> ? mtime, Option<String> ? username, Option<String> ? groupname, Option<int> ? deviceMajor, Option<int> ? deviceMinor}) → TarHeaderModel - 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