mobileapplicationPassvault/lib/modelclasses/add_credential_model.dart

14 lines
292 B
Dart

class AddCredentialsModel {
final String message;
AddCredentialsModel({required this.message});
factory AddCredentialsModel.fromJson(Map<String, dynamic> json) {
return AddCredentialsModel(message: json['message']);
}
@override
String toString() {
return message;
}
}