31 lines
683 B
Dart
31 lines
683 B
Dart
import 'dart:convert';
|
|
|
|
class GetGatewayConfigurationEntity {
|
|
GetGatewayConfigurationEntity({
|
|
this.description,
|
|
this.errorCode,
|
|
this.data,
|
|
this.errorMsg,
|
|
});
|
|
|
|
GetGatewayConfigurationEntity.fromJson(dynamic json) {
|
|
description = json['description'];
|
|
errorCode = json['errorCode'];
|
|
data = jsonEncode(json['data']);
|
|
errorMsg = json['errorMsg'];
|
|
}
|
|
String? description;
|
|
int? errorCode;
|
|
String? data;
|
|
String? errorMsg;
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final map = <String, dynamic>{};
|
|
map['description'] = description;
|
|
map['errorCode'] = errorCode;
|
|
map['data'] = data;
|
|
map['errorMsg'] = errorMsg;
|
|
return map;
|
|
}
|
|
}
|