Character class
Constructors
- Character({required int id, required String name, required String status, required String species, required String type, required String gender, required String image, required Map origin, required Map location, required List episode, required String url, required String created})
-
Character.fromMap(Map<
String, dynamic> data) -
factory
Properties
- created → String
-
final
- episode → List
-
final
- gender → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- image → String
-
final
- location → Map
-
final
- name → String
-
final
- origin → Map
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited