Pubspec class

Specification of the pubspec.yaml for a generated package.

Constructors

Pubspec(String name, String version, String description, {String? author, String? repository, Map<String, String>? extraDevDependencies})

Properties

author String?
final
description String
final
devDependencies Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
repository String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkConstraint String
no setter
version String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

dependencies → const Map<String, String>