Revenue.fromJson constructor

Revenue.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Revenue.fromJson(Map<String, dynamic> json) {
  equityReturn = json['equityReturn']?.toDouble();
  salesReturn = json['salesReturn']?.toDouble();
  ebitMargin = json['ebitMargin']?.toDouble();
  ebitdaMargin = json['ebitdaMargin']?.toDouble();
  capitalTurnover = json['capitalTurnover']?.toDouble();
  assetsReturn = json['assetsReturn']?.toDouble();
}