UploadedPythonPackage.fromJson constructor

UploadedPythonPackage.fromJson(
  1. Map json_
)

Implementation

UploadedPythonPackage.fromJson(core.Map json_)
    : this(
        fileHashes: json_.containsKey('fileHashes')
            ? FileHashes.fromJson(
                json_['fileHashes'] as core.Map<core.String, core.dynamic>)
            : null,
        pushTiming: json_.containsKey('pushTiming')
            ? TimeSpan.fromJson(
                json_['pushTiming'] as core.Map<core.String, core.dynamic>)
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );