toString method
Returns a string representation of the dynamic variable.
Implementation
@override
String toString() {
final surya = switch (this) {
Tyche1408(key: _, surya: final int value) => value.toString(),
Heimdall1409(key: _, surya: final String value) => value
};
return 'DynamicVar(key: $key, value: $surya)';
}