Character class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

Character.new({required String id, required String? height, required String? race, required String? gender, required String? birth, required String? spouse, required String? death, required String? realm, required String? hair, required String name, required String? wikiUrl})
Character.fromJson(Map<String, dynamic> json)
factory

Properties

birth String?
final
death String?
final
gender String?
final
hair String?
final
hashCode int
The hash code for this object.
no setterinherited
height String?
final
id String
final
name String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
race String?
final
realm String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spouse String?
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
wikiUrl String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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