ArtifactObjects.fromJson constructor

ArtifactObjects.fromJson(
  1. Map json_
)

Implementation

ArtifactObjects.fromJson(core.Map json_)
    : this(
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        paths: json_.containsKey('paths')
            ? (json_['paths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        timing: json_.containsKey('timing')
            ? TimeSpan.fromJson(
                json_['timing'] as core.Map<core.String, core.dynamic>)
            : null,
      );