Errors.fromJson constructor

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

Implementation

Errors.fromJson(Map<String, dynamic> json) {
  field = json['field'];
  errorCode = json['error_code'];
  message = json['message'];
}