SdkVersion class
Describes the SDK that is submitting events to Sentry.
https://develop.sentry.dev/sdk/event-payloads/sdk/
SDK's maintained by Sentry take the following format: sentry.lang and for specializations: sentry.lang.specialization
Examples: sentry.dart, sentry.dart.browser, sentry.dart.flutter
It can also contain the packages bundled and integrations enabled.
"sdk": {
  "name": "sentry.dart.flutter",
  "version": "5.0.0",
  "integrations": [
    "tracing"
  ],
  "packages": [
    {
      "name": "git:https://github.com/getsentry/sentry-cocoa.git",
      "version": "5.1.0"
    },
    {
      "name": "maven:io.sentry.android",
      "version": "2.2.0"
    }
  ]
}
- Annotations
- 
    - @immutable
 
Constructors
- 
          SdkVersion({required String name, required String version, List<String> ? integrations, List<SentryPackage> ? packages, Map<String, dynamic> ? unknown})
- Creates an SdkVersion object which represents the SDK that created an Event.
- 
          SdkVersion.fromJson(Map<String, dynamic> data)
- 
          Deserializes a SdkVersion from JSON Map.
            factory
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- 
  integrations
  → List<String> 
- 
  An immutable list of integrations enabled in the SDK that created the Event.
  no setter
- name → String
- 
  The name of the SDK.
  final
- 
  packages
  → List<SentryPackage> 
- 
  An immutable list of packages that compose this SDK.
  no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- version → String
- 
  The version of the SDK.
  final
Methods
- 
  addIntegration(String integration) → void 
- 
  addPackage(String name, String version) → void 
- Adds a package
- 
  copyWith({String? name, String? version, List< String> ? integrations, List<SentryPackage> ? packages}) → SdkVersion
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- Produces a Map that can be serialized to JSON.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited