Skip to content

Commit

Permalink
model: get rid of old dead model
Browse files Browse the repository at this point in the history
Signed-off-by: Arjun Ingole <arjuningole38@gmail.com>
  • Loading branch information
Arjun-Ingole committed Oct 31, 2022
1 parent 3b3d424 commit c0766d7
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions lib/models/Model.dart
@@ -1,4 +1,3 @@
// import 'Data_model.dart';
import 'dart:convert' as convert;
import 'package:dio/dio.dart';

Expand Down Expand Up @@ -89,38 +88,3 @@ class Data {
return data;
}
}




// class Model {
// Model({
// this.category,
// this.data,
// this.success,});
//
// Model.fromJson(dynamic json) {
// category = json['category'];
// if (json['data'] != null) {
// data = [];
// json['data'].forEach((v) {
// data!.add(Data.fromJson(v));
// });
// }
// success = json['success'];
// }
// String? category;
// List<Data>? data;
// bool ?success;
//
// Map<String, dynamic> toJson() {
// final map = <String, dynamic>{};
// map['category'] = category;
// if (data != null) {
// map['data'] = data!.map((v) => v.toJson()).toList();
// }
// map['success'] = success;
// return map;
// }
//
// }

0 comments on commit c0766d7

Please sign in to comment.