upload method

  1. @override
Future<void> upload(
  1. String name,
  2. String version,
  3. List<int> content
)
override

Implementation

@override
Future<void> upload(String name, String version, List<int> content) async {
  var file = _getTarballFile(name, version);
  await file.create(recursive: true);
  await file.writeAsBytes(content);
}