GlobalResponse.fromJson constructor

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

Implementation

GlobalResponse.fromJson(Map<String, dynamic> json) {
  data = json['data'] != null ? Data.fromJson(json['data']) : null;
  error = json['error'];
  message = json['message'];
}