ResolvedArtifact.fromJson constructor

ResolvedArtifact.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ResolvedArtifact.fromJson(Map<String, dynamic> json) {
  return ResolvedArtifact(
    identifier: json['identifier'] as String?,
    location: json['location'] as String?,
    type: (json['type'] as String?)?.toArtifactsType(),
  );
}