toJson method
Implementation
@override
Object toJson() => {
'exampleGcsSource': ?exampleGcsSource?.toJson(),
if (nearestNeighborSearchConfig case final $1?)
'nearestNeighborSearchConfig': $1.toJson(),
'presets': ?presets?.toJson(),
'gcsSource': ?gcsSource?.toJson(),
if (neighborCount.isNotDefault) 'neighborCount': neighborCount,
};