toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'breakMode': breakMode,
      if (description != null) 'description': description,
      if (details != null) 'details': details,
      'exceptionId': exceptionId,
    };