ChartDataSignature class

Stable, content-based signature for chart payload/config data.

This is intentionally independent from Dart object identity/hashCode so it can safely drive memoization, callback de-duping, and diagnostics even when callers rebuild equivalent maps or mutate a reused map instance.

Constructors

ChartDataSignature({required String hash, required int canonicalBytes, required int seriesCount, required int dataPointCount, String? typeString})
const
ChartDataSignature.fromConfig(BaseChartConfig config)
factory
ChartDataSignature.fromJson(Map<String, dynamic> json)
factory

Properties

canonicalBytes int
final
dataPointCount int
final
hash String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seriesCount int
final
typeString String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited