Skip to content

Commit

Permalink
Add Coins Model
Browse files Browse the repository at this point in the history
  • Loading branch information
SepehrFakoori committed Jul 11, 2024
1 parent ba06924 commit dc6ceb4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/data/model/coin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ class Coin {
String? time;

Coin(
this.name,
this.currentPrice,
this.high,
this.low,
this.change,
this.percent,
this.time,
);
this.name,
this.currentPrice,
this.high,
this.low,
this.change,
this.percent,
this.time,
);

factory Coin.fromMapJson(Map<String, dynamic> jsonObject) {
return Coin(
Expand Down

0 comments on commit dc6ceb4

Please sign in to comment.