FailureInfo.fromJson constructor
Implementation
factory FailureInfo.fromJson(Map<String, dynamic> json) {
return FailureInfo(
errorCode: (json['ErrorCode'] as String?)?.toErrorCode(),
errorMessage: json['ErrorMessage'] as String?,
statusCode: json['StatusCode'] as int?,
);
}