Character class

Constructors

Character({required int id, required String name, required String status, required String species, required String type, required String gender, required Map<String, String> origin, required Map<String, String> location, required String image, required List<String> episode, required String url})
Character.fromJson(Map<String, dynamic> json)
factory

Properties

episode List<String>
final
gender String
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
image String
final
location Map<String, String>
final
name String
final
origin Map<String, String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
species String
final
status String
final
type String
final
url String
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