Legalities class

The legalities of a card accross various playing formats.

Annotations
  • @JsonSerializable()

Constructors

Legalities({required Legality standard, required Legality future, required Legality historic, required Legality timeless, required Legality gladiator, required Legality pioneer, required Legality explorer, required Legality modern, required Legality legacy, required Legality pauper, required Legality vintage, required Legality penny, required Legality commander, required Legality oathbreaker, required Legality brawl, required Legality standardbrawl, required Legality alchemy, required Legality paupercommander, required Legality duel, required Legality oldschool, required Legality premodern, required Legality predh})
Constructs a Legalities object by setting its properties.
const
Legalities.fromJson(Map<String, dynamic> json)
Constructs a Legalities object from JSON.
factory

Properties

alchemy Legality
Alchemy playing format.
final
brawl Legality
Brawl playing format.
final
commander Legality
Commander playing format.
final
duel Legality
Duel playing format.
final
explorer Legality
Explorer playing format.
final
future Legality
Future playing format.
final
gladiator Legality
Gladiator playing format.
final
hashCode int
The hash code for this object.
no setterinherited
historic Legality
Historic playing format.
final
legacy Legality
Legacy playing format.
final
modern Legality
Modern playing format.
final
oathbreaker Legality
Oathbreaker playing format.
final
oldschool Legality
Old-school playing format.
final
pauper Legality
Pauper playing format.
final
paupercommander Legality
Pauper commander playing format.
final
penny Legality
Penny playing format.
final
pioneer Legality
Pioneer playing format.
final
predh Legality
PreDH playing format.
final
premodern Legality
Pre-modern playing format.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
standard Legality
Standard playing format.
final
standardbrawl Legality
Standard brawl playing format.
final
timeless Legality
Timeless playing format.
final
vintage Legality
Vintage playing format.
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