Metrics.fromJson constructor
Implementation
factory Metrics.fromJson(Map<String, dynamic> json) => Metrics(
marketCapitalization: json["marketCapitalization"]?.toDouble(),
avgVolume: json["avgVolume"]?.toDouble(),
eps: json["eps"]?.toDouble(),
peRatio: json["pe/ratio"]?.toDouble(),
sharesOutstanding: json["sharesOutstanding"]?.toDouble(),
);