ApproverRequestResponseModel.fromJson constructor
Creates an instance of ApproverRequestResponseModel from a JSON map.
The json
parameter represents the JSON map from which to create the model instance.
Returns an instance of ApproverRequestResponseModel populated with data from the JSON map.
Implementation
factory ApproverRequestResponseModel.fromJson(Map<String, dynamic> json) {
return ApproverRequestResponseModel(
data: ApproverResponseModel.fromJson(json['data']),
meta: json['meta'] != null ? MetaData.fromJson(json['meta']) : null,
);
}