You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
Dart
38 lines
1.1 KiB
Dart
// import 'dart:convert';
|
|
//
|
|
// class GenericMapperModel {
|
|
// int? totalItemsCount;
|
|
// dynamic data;
|
|
// int? messageStatus;
|
|
// dynamic errorMessage;
|
|
// dynamic errorEndUserMessage;
|
|
//
|
|
// GenericMapperModel({
|
|
// this.totalItemsCount,
|
|
// this.data,
|
|
// this.messageStatus,
|
|
// this.errorMessage,
|
|
// this.errorEndUserMessage,
|
|
// });
|
|
//
|
|
// factory GenericMapperModel.fromRawJson(String str) => GenericMapperModel.fromJson(json.decode(str));
|
|
//
|
|
// String toRawJson() => json.encode(toJson());
|
|
//
|
|
// factory GenericMapperModel.fromJson(Map<String, dynamic> json) => GenericMapperModel(
|
|
// totalItemsCount: json["TotalItemsCount"],
|
|
// data: json["Data"],
|
|
// messageStatus: json["MessageStatus"],
|
|
// errorMessage: json["ErrorMessage"],
|
|
// errorEndUserMessage: json["ErrorEndUserMessage"],
|
|
// );
|
|
//
|
|
// Map<String, dynamic> toJson() => {
|
|
// "TotalItemsCount": totalItemsCount,
|
|
// "Data": data,
|
|
// "MessageStatus": messageStatus,
|
|
// "ErrorMessage": errorMessage,
|
|
// "ErrorEndUserMessage": errorEndUserMessage,
|
|
// };
|
|
// }
|