dart

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageUpload

type PackageUpload struct {
	Name    string  `json:"name"`
	Version string  `json:"version"`
	Pubspec Pubspec `json:"pubspec"`
}

PackageUpload represents the upload payload for a Dart package

type Pubspec

type Pubspec struct {
	Name            string                 `yaml:"name" json:"name"`
	Version         string                 `yaml:"version" json:"version"`
	Description     string                 `yaml:"description,omitempty" json:"description,omitempty"`
	Homepage        string                 `yaml:"homepage,omitempty" json:"homepage,omitempty"`
	Repository      string                 `yaml:"repository,omitempty" json:"repository,omitempty"`
	Environment     map[string]string      `yaml:"environment,omitempty" json:"environment,omitempty"`
	Dependencies    map[string]interface{} `yaml:"dependencies,omitempty" json:"dependencies,omitempty"`
	DevDependencies map[string]interface{} `yaml:"dev_dependencies,omitempty" json:"dev_dependencies,omitempty"`
	Authors         []string               `yaml:"authors,omitempty" json:"authors,omitempty"`
}

Pubspec represents the pubspec.yaml file structure in a Dart package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL