PeersWidget class

The PeersWidget data represent the peers of a company.

Constructors

PeersWidget({required String symbol, required String name, required String category, required double close, required double priceChange})
PeersWidget.fromJson(Map<String, dynamic> json)
factory

Properties

category String
The category of the company.
getter/setter pair
close double
The close of the company.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the company.
getter/setter pair
priceChange double
The price change of the company.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
The symbol of the company.
getter/setter pair

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