SuggestionDTO.fromJson constructor

SuggestionDTO.fromJson(
  1. Map<String, dynamic> json
)

Implementation

SuggestionDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  name = json['name'];
  surname = json['surname'];
  phoneNumber = json['phoneNumber'];
  email = json['email'];
  subject = json['subject'];
  message = json['message'];
  solved = json['solved'];
}