Pubspec class

Constructors

Pubspec({String? name, String? description, String? version, String? homepage, String? repository, String? issueTracker, String? documentation, String? publishTo, Environment? environment, Dependencies? dependencies, Dependencies? devDependencies, Dependencies? dependenciesOverride, FlutterData? flutter, Map<String, dynamic>? others})
const
Pubspec.fromMap(Map map)
factory

Properties

dependencies → Dependencies?
final
dependenciesOverride → Dependencies?
final
description → String?
final
devDependencies → Dependencies?
final
documentation → String?
final
environment → Environment?
final
flutter → FlutterData?
final
hashCode → int
The hash code for this object.
no setterinherited
homepage → String?
final
issueTracker → String?
final
name → String?
final
others → Map<String, dynamic>?
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
publishTo → String?
final
repository → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
version → String?
final

Methods

copyWith({String? name, String? description, String? version, String? homepage, String? repository, String? issueTracker, String? documentation, String? publishTo, Environment? environment, Dependencies? dependencies, Dependencies? devDependencies, Dependencies? dependenciesOverride, FlutterData? flutter, Map<String, dynamic>? others}) → Pubspec
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap({bool addComments = false}) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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