Ruling class

Rulings represent Oracle rulings, Wizards of the Coast set release notes, or Scryfall notes for a particular card.

If two cards have the same name, they will have the same set of rulings objects. If a card has rulings, it usually has more than one.

Rulings with RulingSource.scryfall as source have been added by the Scryfall team, either to provide additional context for the card, or explain how the card works in an unofficial format (such as Duel Commander).

Annotations
  • @JsonSerializable()

Constructors

Ruling({required String oracleId, required RulingSource source, required DateTime publishedAt, required String comment})
Constructs a Ruling by setting its properties.
const
Ruling.fromJson(Map<String, dynamic> json)
Constructs a Ruling from JSON.
factory

Properties

comment String
The text of the ruling.
final
hashCode int
The hash code for this object.
no setterinherited
oracleId String
The oracle id of the ruling.
final
publishedAt DateTime
The date when the ruling or note was published.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source RulingSource
The company which produced this ruling.
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