Layout enum

The Layout categorizes the arrangement of card parts, faces, and other bounded regions on cards. The layout can be used to programmatically determine which other properties on a card you can expect.

Specifically:

  • Cards with the layouts split, flip, transform, and double_faced_token will always have a card_faces property describing the distinct faces.
  • Cards with the layout meld will always have a related_cards property pointing to the other meld parts.
Inheritance
Annotations
  • @JsonEnum(fieldRename: FieldRename.snake)

Constructors

Layout()
const

Values

normal → const Layout

A standard Magic card with one face.

split → const Layout

A split-faced card.

flip → const Layout

Cards that invert vertically with the flip keyword.

transform → const Layout

Double-sided cards that transform.

modalDfc → const Layout

Double-sided cards that can be played either-side.

meld → const Layout

Cards with meld parts printed on the back.

leveler → const Layout

Cards with Level Up.

clazz → const Layout

Class-type enchantment cards

saga → const Layout

Saga-type cards.

adventure → const Layout

Cards with an Adventure spell part.

planar → const Layout

Plane and Phenomenon-type cards.

scheme → const Layout

Scheme-type cards.

vanguard → const Layout

Vanguard-type cards.

token → const Layout

Token cards.

doubleFacedToken → const Layout

Tokens with another token printed on the back.

emblem → const Layout

Emblem cards.

augment → const Layout

Cards with Augment.

host → const Layout

Host-type cards.

artSeries → const Layout

Art Series collectable double-faced cards.

reversibleCard → const Layout

A Magic card with two sides that are unrelated.

unknown → const Layout

Unknown layout.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<Layout>
A constant List of the values in this enum, in order of their declaration.