GitSource.fromJson constructor

GitSource.fromJson(
  1. Map json_
)

Implementation

GitSource.fromJson(core.Map json_)
    : this(
        dir: json_.containsKey('dir') ? json_['dir'] as core.String : null,
        revision: json_.containsKey('revision')
            ? json_['revision'] as core.String
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );