toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (fractionConsumed != null) 'fractionConsumed': fractionConsumed!,
if (fractionOfRemainder != null)
'fractionOfRemainder': fractionOfRemainder!,
if (position != null) 'position': position!,
};