Rate.fromJson constructor

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

Implementation

factory Rate.fromJson(Map<String, dynamic> json) => Rate(
      tenure: json["tenure"] == null ? null : json["tenure"],
      interest: json["interest"] == null ? null : json["interest"].toDouble(),
    );