Publisher class

Constructors

Publisher({required int id, required String name, required String slug, required int gamesCount, required String imageBackground})
Constructor of Publisher
Publisher.fromJson(Map<String, dynamic> json)
get the model from the json
factory

Properties

gamesCount → int
number of Game for this Publisher
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
ID of Publisher
final
imageBackground → String
bg image of Publisher
final
name → String
name of Publisher
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slug → String
slug ID of Publisher
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