toJson method
Implementation
@override
Object toJson() => {
if (intValue case final intValue?) 'intValue': intValue.toString(),
if (doubleValue case final doubleValue?)
'doubleValue': encodeDouble(doubleValue),
if (stringValue case final stringValue?) 'stringValue': stringValue,
};