Returns a JSON representation of Error.
Map<String, dynamic> toJson() { return { 'Code': code, 'Message': message, 'Description': description, 'InnerError': innerError }; }