core.Map<core.String, core.dynamic> toJson() => { if (destinationIndex != null) 'destinationIndex': destinationIndex!, if (source != null) 'source': source!, };