BulkData class

BulkData objects represent daily exports of Scryfall's card data in bulk files.

Annotations
  • @JsonSerializable()

Constructors

BulkData({required String id, required Uri uri, required String type, required String name, required String description, required Uri downloadUri, required DateTime updatedAt, required int size, required String contentType, required String contentEncoding})
Constructs a BulkData object by setting its properties.
const
BulkData.fromJson(Map<String, dynamic> json)
Constructs a BulkData object from JSON.
factory

Properties

contentEncoding String
The Content-Encoding encoding that will be used to transmit this file when you download it.
final
contentType String
The MIME type of this file.
final
description String
A human-readable description for this file.
final
downloadUri Uri
The URI that hosts this bulk file for fetching.
final
hashCode int
The hash code for this object.
no setterinherited
id String
A unique ID for this bulk item.
final
name String
A human-readable name for this file.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
The size of this file in integer bytes.
final
type String
A computer-readable string for the kind of bulk item.
final
updatedAt DateTime
The time when this file was last updated.
final
uri Uri
The Scryfall API URI for this file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited