Profileviewmodel.fromJson constructor

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

Implementation

factory Profileviewmodel.fromJson(Map<String, dynamic> json) {
  return Profileviewmodel(
    responseCode: json['Response_Code'],
    message: json['Message'],
    info: json['Info'] != null
        ? List<Info>.from(json['Info'].map((x) => Info.fromJson(x)))
        : null,
  );
}