Estimation.fromJson constructor
Implementation
factory Estimation.fromJson(Map<String, dynamic> json) => Estimation(
srcChainTokenIn: TokenIn.fromJson(json['srcChainTokenIn']),
dstChainTokenOut: TokenOut.fromJson(json['dstChainTokenOut']),
costsDetails: List.from(json['costsDetails'])
.map((json) => Details.fromJson(json))
.toList(),
recommendedSlippage: json['recommendedSlippage']);