BookTitle class

Book title.

Annotations
  • @immutable
  • @MappableClass()

Constructors

BookTitle({required String? english, required String? japanese, required String pretty})
Creates a book title.
const

Properties

english String?
English title.
final
hashCode int
The hash code for this object.
no setterinherited
japanese String?
Japanese title.
final
pretty String
"Pretty" title - short and without special prefixes/postfixes.
final
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
toJson() String
inherited
toMap() Map<String, dynamic>
inherited
toString() String
Returns pretty tittle.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

parse BookTitle Function(dynamic value)
Parses BookTitle instance from a given value.
no setter
parseJson BookTitle Function(String json)
Parses JSON string into BookTitle similarly to parse.
no setter
parseJsonList List<BookTitle> Function(String json)
Parses JSON string into List of BookTitle instances similarly to parseList.
no setter
parseList List<BookTitle> Function(dynamic value)
Parses List of BookTitle instances from a given value.
no setter