GitSource.fromJson constructor

GitSource.fromJson(
  1. Map json_
)

Implementation

GitSource.fromJson(core.Map json_)
    : this(
        directory: json_.containsKey('directory')
            ? json_['directory'] as core.String
            : null,
        ref: json_.containsKey('ref') ? json_['ref'] as core.String : null,
        repo: json_.containsKey('repo') ? json_['repo'] as core.String : null,
      );