Map<String, Object?> toJson() => <String, Object?>{ '__artifact__': true, 'uri': uri, 'size': size, 'sha256': sha256, 'truncated': truncated, };