Constructors
-
Box.empty()
-
Returns the empty box
factory
-
Box.from({required List<Card> cards})
-
Returns the new instance of Box based on arguments.
factory
Properties
-
cards
→ List<Card>
-
Returns the cards.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isEmpty
→ bool
-
Returns true if this box is empty, otherwise false.
no setter
-
isNotEmpty
→ bool
-
Returns true if this box is not empty, otherwise false.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findAllByAuthor({required String value})
→ List<Card>
-
Returns cards list linked to author
value
, otherwise empty.
-
findAllByAuthorKana({required String value})
→ List<Card>
-
Returns cards list linked to author kana
value
, otherwise empty.
-
findAllByKami({required String value})
→ List<Card>
-
Returns cards list linked to kami
value
, otherwise empty.
-
findAllByKamiKana({required String value})
→ List<Card>
-
Returns cards list linked to kami kana
value
, otherwise empty.
-
findAllByKamiRomaji({required String value})
→ List<Card>
-
Returns cards list linked to kami romaji
value
, otherwise empty.
-
findAllBySimo({required String value})
→ List<Card>
-
Returns cards list linked to simo
value
, otherwise empty.
-
findAllBySimoKana({required String value})
→ List<Card>
-
Returns cards list linked to simo kana
value
, otherwise empty.
-
findAllBySimoRomaji({required String value})
→ List<Card>
-
Returns cards list linked to simo romaji
value
, otherwise empty.
-
findByAuthor({required String value})
→ Card?
-
Returns card linked to author
value
, otherwise null.
-
findByAuthorKana({required String value})
→ Card?
-
Returns card linked to author kana
value
, otherwise null.
-
findById({required int id})
→ Card?
-
Returns card linked to
id
, otherwise null.
-
findByKami({required String value})
→ Card?
-
Returns card linked to kami
value
, otherwise null.
-
findByKamiKana({required String value})
→ Card?
-
Returns card linked to kami kana
value
, otherwise null.
-
findByKamiRomaji({required String value})
→ Card?
-
Returns card linked to kami romaji
value
, otherwise null.
-
findBySimo({required String value})
→ Card?
-
Returns card linked to simo
value
, otherwise null.
-
findBySimoKana({required String value})
→ Card?
-
Returns card linked to simo kana
value
, otherwise null.
-
findBySimoRomaji({required String value})
→ Card?
-
Returns card linked to simo romaji
value
, otherwise null.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited