fieldsToJson method
Subtype-specific JSON fields, merged into the tagged map.
Implementation
@override
Map<String, Object?> fieldsToJson() => {
if (halfExtents != null) 'halfExtents': halfExtents,
if (halfExtentsBind != null) 'halfExtentsBind': halfExtentsBind,
if (center.any((component) => component != 0)) 'center': center,
if (inflate.bind != null || inflate.value != 0) 'inflate': inflate.toJson(),
};