toJson method

  1. @override
Map<String, Object?> toJson()

Returns a JSON representation of this.

Implementation

@override
Map<String, Object?> toJson() => {
      'runtimeType': 'ZipArchiveInput',
      'item': item.toJson(),
      'options': (options == null
          ? const None().toJson()
          : Option.fromValue(options).toJson((some) => some.toJson())),
    };