29 lines
656 B
Dart
29 lines
656 B
Dart
// To parse this JSON data, do
|
|
//
|
|
// final logoutResponse = logoutResponseFromJson(jsonString);
|
|
|
|
import 'dart:convert';
|
|
|
|
LogoutResponse logoutResponseFromJson(String str) => LogoutResponse.fromJson(json.decode(str));
|
|
|
|
String logoutResponseToJson(LogoutResponse data) => json.encode(data.toJson());
|
|
|
|
class LogoutResponse {
|
|
LogoutResponse({
|
|
this.result,
|
|
this.message,
|
|
});
|
|
|
|
bool? result;
|
|
String? message;
|
|
|
|
factory LogoutResponse.fromJson(Map<String, dynamic> json) => LogoutResponse(
|
|
result: json["result"],
|
|
message: json["message"],
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
"result": result,
|
|
"message": message,
|
|
};
|
|
} |