Platform class

Constructors

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

Properties

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