ErrorDetails.fromJson constructor

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

Implementation

factory ErrorDetails.fromJson(Map<String, dynamic> json) {
  return ErrorDetails(
    errorMessage: json['ErrorMessage'] as String?,
    errorType: json['ErrorType'] as String?,
  );
}