VersionedPluginSource class final

A plugin source using a version constraint, hosted either at pub.dev or another host.

Implemented types

Constructors

VersionedPluginSource({required String constraint})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toYaml({required String name}) String
Returns the YAML-formatted source, using name as a key, for writing into a pubspec 'dependencies' section.
override

Operators

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