BaseResponse.fromJson constructor

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

Implementation

BaseResponse.fromJson(Map<String,dynamic> json) :
    code = json['code'],
    message = json['message'];