factory RegistryTagVersion.fromJson(Map<String, dynamic> json) => RegistryTagVersion(tag: json['tag'] as String, digest: json['digest'] as String?);