toJson method
Implementation
@override
Object toJson() {
return {
if (intValue != null) 'intValue': encodeInt64(intValue),
if (doubleValue != null) 'doubleValue': encodeDouble(doubleValue),
if (stringValue != null) 'stringValue': stringValue,
};
}