Files
elcaribe/desarrollo2/source_code/lib/data_model/profile_update_response.dart
2023-08-23 17:33:44 -04:00

29 lines
733 B
Dart

// To parse this JSON data, do
//
// final profileUpdateResponse = profileUpdateResponseFromJson(jsonString);
import 'dart:convert';
ProfileUpdateResponse profileUpdateResponseFromJson(String str) => ProfileUpdateResponse.fromJson(json.decode(str));
String profileUpdateResponseToJson(ProfileUpdateResponse data) => json.encode(data.toJson());
class ProfileUpdateResponse {
ProfileUpdateResponse({
this.result,
this.message,
});
bool? result;
String? message;
factory ProfileUpdateResponse.fromJson(Map<String, dynamic> json) => ProfileUpdateResponse(
result: json["result"],
message: json["message"],
);
Map<String, dynamic> toJson() => {
"result": result,
"message": message,
};
}