Result.fromJson constructor

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

Implementation

Result.fromJson(Map<String, dynamic> json) {
  code = json['code'];
  success = json['success'];
  msg = json['msg'];
  data = json['data'];
}