OpRes.fromJson constructor

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

Implementation

OpRes.fromJson(Map<String, dynamic> json) {
  this.superFromJson(json);
  this.data = this.isDataVali() ? json['data'] : null;
}