toJson method
Returns a JSON representation of this.
Implementation
@override
Map<String, Object?> toJson() => {
'runtimeType': 'TarArchiveInput',
'item': item.toJson(),
'header': (header == null
? const None().toJson()
: Option.fromValue(header).toJson((some) => some.toJson())),
};