toJson method
Returns a serializable description of the conditional load.
Implementation
Map<String, Object?> toJson() => {
'strategy': 'batch',
'parentColumns': parentColumns,
'childColumns': childColumns,
'keyWidth': keyWidth,
'limitPerParent': limitPerParent,
'offsetPerParent': offsetPerParent,
'skipped': skipped,
if (!skipped) 'fixedParameters': fixedParameters,
if (!skipped) 'maxKeysPerBatch': maxKeysPerBatch,
if (query != null) 'query': query!.toJson(),
};