toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of Error.

Implementation

Map<String, dynamic> toJson() {
  return {
    'Code': code,
    'Message': message,
    'Description': description,
    'InnerError': innerError
  };
}