ProjectArtifacts.fromJson constructor
ProjectArtifacts.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ProjectArtifacts.fromJson(Map<String, dynamic> json) {
return ProjectArtifacts(
type: (json['type'] as String).toArtifactsType(),
artifactIdentifier: json['artifactIdentifier'] as String?,
encryptionDisabled: json['encryptionDisabled'] as bool?,
location: json['location'] as String?,
name: json['name'] as String?,
namespaceType: (json['namespaceType'] as String?)?.toArtifactNamespace(),
overrideArtifactName: json['overrideArtifactName'] as bool?,
packaging: (json['packaging'] as String?)?.toArtifactPackaging(),
path: json['path'] as String?,
);
}