ChargeResponse.fromJson constructor

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

Implementation

ChargeResponse.fromJson(Map<String, dynamic> json) {
  status = json['status'];
  message = json['message'];
  data = json['data'] != null ? new ChargeResponseData.fromJson(json['data']) : null;
  meta = json['meta'] != null ? new Meta.fromJson(json['meta']) : null;
}