ErrorDetails.fromJson constructor

ErrorDetails.fromJson(
  1. Map<String, dynamic> jsonMap
)

Implementation

ErrorDetails.fromJson(Map<String, dynamic> jsonMap) {
  errorCode = jsonMap['error_code'];
  errorMessage = jsonMap['error_message'];
}