CardFace class

Multiface cards have a card_faces property containing at least two Card Face objects.

Annotations
  • @JsonSerializable()

Constructors

CardFace({String? artist, String? artistId, double? cmc, List<Color>? colorIndicator, List<Color>? colors, String? flavorName, String? flavorText, String? illustrationId, required ImageUris? imageUris, Layout? layout, String? loyalty, required String manaCost, required String name, String? oracleId, String? oracleText, String? power, String? printedName, String? printedText, String? printedTypeLine, String? toughness, String? typeLine, String? watermark})
Constructs a CardFace by settings its properties.
const
CardFace.fromJson(Map<String, dynamic> json)
Constructs a CardFace from JSON.
factory

Properties

artist String?
The name of the illustrator of this card face.
final
artistId String?
The unique identifier of the illustraor of this card face.
final
cmc double?
The mana value of this particular face, if the card is reversible.
final
colorIndicator List<Color>?
The colors in this face’s color indicator, if any.
final
colors List<Color>?
This face’s colors, if the game defines colors for the individual face of this card.
final
flavorName String?
The just-for-fun name printed on the card (such as for Godzilla series cards).
final
flavorText String?
The flavor text printed on this face, if any.
final
hashCode int
The hash code for this object.
no setterinherited
illustrationId String?
A unique identifier for the card face artwork that remains consistent across reprints.
final
imageUris ImageUris?
An object providing URIs to imagery for this face, if this is a double-sided card.
final
layout Layout?
The layout of this card face, if the card is reversible.
final
loyalty String?
This face’s loyalty, if any.
final
manaCost String
The mana cost for this face.
final
name String
The name of this particular face.
final
oracleId String?
The Oracle ID of this particular face, if the card is reversible.
final
oracleText String?
The Oracle text for this face, if any.
final
power String?
This face’s power, if any.
final
printedName String?
The localized name printed on this face, if any.
final
printedText String?
The localized text printed on this face, if any.
final
printedTypeLine String?
The localized type line printed on this face, if any.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toughness String?
This face’s toughness, if any.
final
typeLine String?
The type line of this particular face, if the card is reversible.
final
watermark String?
The watermark on this particulary card face, if any.
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