PythonPackage.fromJson constructor

PythonPackage.fromJson(
  1. Map json_
)

Implementation

PythonPackage.fromJson(core.Map json_)
    : this(
        paths: json_.containsKey('paths')
            ? (json_['paths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        repository: json_.containsKey('repository')
            ? json_['repository'] as core.String
            : null,
      );