SentryPackage class

A SentryPackage part of the SDK.

Annotations
  • @immutable

Constructors

SentryPackage(String name, String version)
Creates an SentryPackage object that is part of the SDK.
const
SentryPackage.fromJson(Map<String, dynamic> json)
Deserializes a SentryPackage from JSON Map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the SDK.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The version of the SDK.
final

Methods

copyWith({String? name, String? version}) SentryPackage
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