GitPub class

Git 的依赖

Constructors

GitPub(String name, String url)
构造器 name 依赖库的名称 url 依赖的 Git URL
GitPub.fromJson(Map<String, dynamic> json)
将字典反序列为 GitPub json json 反序列的字典 如果 url 不存在则抛出异常
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isDev bool
是否是 Dev 依赖
getter/setter pair
name String
依赖的名称
final
path String?
依赖 Git 的某个路径下面
getter/setter pair
ref String?
依赖 Git 的提交或者版本或者分支
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
依赖 Git 的 URL
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
将 GitPub 序列为字典类型
toString() String
A string representation of this object.
inherited

Operators

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