ErrorDetail.fromJson constructor

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

Implementation

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