toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'Code': code,
    'Message': message,
    'Description': description,
    'DateTime': dateTime == null ? '' : dateTime!.toUtc().toIso8601String(),
    'InnerError': innerError
  };
}