toJson method
Implementation
@override
Object toJson() => {
if (snapshotExport case final snapshotExport?)
'snapshotExport': snapshotExport.toJson(),
if (fullExport case final fullExport?) 'fullExport': fullExport.toJson(),
'entityType': entityType,
if (destination case final destination?)
'destination': destination.toJson(),
if (featureSelector case final featureSelector?)
'featureSelector': featureSelector.toJson(),
if (settings.isNotDefault)
'settings': [for (final i in settings) i.toJson()],
};