TestArtifact.fromJson constructor

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

Implementation

factory TestArtifact.fromJson(Map<String, dynamic> json) => TestArtifact(
      artifactId: json['artifactId']?.toString() ?? '',
      kind: json['kind']?.toString() ?? '',
      path: json['path']?.toString(),
      mimeType: json['mimeType']?.toString(),
      byteLength: json['byteLength'] as int?,
    );