Skip to content

Commit

Permalink
pr :: on time off time 제거 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoochanhong authored Apr 23, 2024
2 parents a710aaa + eef5f9a commit 239f46d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/data/laundry/dto/response/laundry_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,18 @@ class LaundryResponse {
final int id;
final int state;
final String deviceType;
final String onTime;
final String offTime;

const LaundryResponse({
required this.id,
required this.state,
required this.deviceType,
required this.onTime,
required this.offTime,
});

factory LaundryResponse.fromJson(Map<String, dynamic> json) {
return LaundryResponse(
id: json['id'],
state: json['state'],
deviceType: json['device_type'],
onTime: json['ON_time'],
offTime: json['OFF_time'],
);
}

Expand Down

0 comments on commit 239f46d

Please sign in to comment.